Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 208.1 kB / 22.25 MB, free: 3.59 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9317/0.9317, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7675/0.7675, allocations: 203.5 MB / 0.5039 GB, free: 10.72 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IDEAS_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL,fileNamePrefix="IDEAS_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009602/0.0009602, allocations: 61.5 kB / 0.7178 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4455/0.4465, allocations: 102 MB / 0.8174 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.0026/0.4491, allocations: 2.303 MB / 0.8196 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009281/0.45, allocations: 0.8222 MB / 0.8204 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.636e-05/0.4501, allocations: 6.969 kB / 0.8204 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004863/0.4506, allocations: 142.4 kB / 0.8205 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001363/0.4507, allocations: 67.73 kB / 0.8206 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001291/0.4509, allocations: 60.48 kB / 0.8207 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.4511, allocations: 171.6 kB / 0.8208 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.4512, allocations: 83.45 kB / 0.8209 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.4514, allocations: 71.28 kB / 0.821 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.4515, allocations: 67.05 kB / 0.821 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.4515, allocations: 12.81 kB / 0.8211 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.111e-05/0.4516, allocations: 51.78 kB / 0.8211 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/0.4516, allocations: 35.03 kB / 0.8211 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.713e-05/0.4517, allocations: 61.11 kB / 0.8212 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.4519, allocations: 181.2 kB / 0.8214 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.4519, allocations: 0 / 0.8214 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4519, allocations: 0 / 0.8214 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.4519, allocations: 0.6094 kB / 0.8214 GB, free: 14.73 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005246/0.4525, allocations: 434 kB / 0.8218 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.4525, allocations: 11.56 kB / 0.8218 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.243e-05/0.4525, allocations: 41.69 kB / 0.8218 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.4527, allocations: 37.5 kB / 0.8219 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.4529, allocations: 162.4 kB / 0.822 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.196e-05/0.4529, allocations: 65.5 kB / 0.8221 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.453, allocations: 12.47 kB / 0.8221 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.4532, allocations: 171.3 kB / 0.8223 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.4532, allocations: 3.938 kB / 0.8223 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.4532, allocations: 6.219 kB / 0.8223 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.4532, allocations: 6.188 kB / 0.8223 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.4533, allocations: 112.8 kB / 0.8224 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005604/0.4539, allocations: 0.5939 MB / 0.823 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.4541, allocations: 84.31 kB / 0.823 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.797e-05/0.4541, allocations: 53.2 kB / 0.8231 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.4541, allocations: 4.188 kB / 0.8231 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/0.4543, allocations: 179.6 kB / 0.8233 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.4543, allocations: 0 / 0.8233 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002721/0.4545, allocations: 232.3 kB / 0.8235 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.4546, allocations: 133.3 kB / 0.8236 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.4547, allocations: 188.5 kB / 0.8238 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.4547, allocations: 31.86 kB / 0.8238 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.154e-05/0.4548, allocations: 138.7 kB / 0.824 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.4548, allocations: 26.47 kB / 0.824 GB, free: 12.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.115e-05/0.4549, allocations: 38.78 kB / 0.824 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.139e-05/0.4549, allocations: 320.3 kB / 0.8243 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.284e-05/0.455, allocations: 99.86 kB / 0.8244 GB, free: 12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.413e-05/0.4551, allocations: 158.8 kB / 0.8246 GB, free: 11.83 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.4552, allocations: 234.5 kB / 0.8248 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4552, allocations: 4 kB / 0.8248 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002482/0.4555, allocations: 305.9 kB / 0.8251 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.4555, allocations: 60.98 kB / 0.8252 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4555, allocations: 8.359 kB / 0.8252 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.4555, allocations: 4.109 kB / 0.8252 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.4e-05/0.4556, allocations: 37.58 kB / 0.8252 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.4556, allocations: 8.531 kB / 0.8252 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.054e-05/0.4557, allocations: 22.02 kB / 0.8252 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.4557, allocations: 12.56 kB / 0.8252 GB, free: 11.29 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.808e-05/0.4558, allocations: 161.4 kB / 0.8254 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.4558, allocations: 23.31 kB / 0.8254 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.4558, allocations: 14.92 kB / 0.8254 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4558, allocations: 1.219 kB / 0.8254 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.4558, allocations: 0 / 0.8254 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.4558, allocations: 6.125 kB / 0.8254 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.456, allocations: 177 kB / 0.8256 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.456, allocations: 3.938 kB / 0.8256 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.208e-05/0.456, allocations: 14.39 kB / 0.8256 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.456, allocations: 0.6562 kB / 0.8256 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.456, allocations: 3.141 kB / 0.8256 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.456, allocations: 0 / 0.8256 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.456, allocations: 1.531 kB / 0.8256 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.4563, allocations: 280.9 kB / 0.8259 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.648e-05/0.4563, allocations: 16.34 kB / 0.8259 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.4563, allocations: 8.594 kB / 0.8259 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.513e-05/0.4564, allocations: 8.812 kB / 0.8259 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/0.4564, allocations: 11.41 kB / 0.8259 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.4564, allocations: 3.688 kB / 0.8259 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.404e-05/0.4565, allocations: 138.5 kB / 0.8261 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.4565, allocations: 0 / 0.8261 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001526/0.4566, allocations: 35.22 kB / 0.8261 GB, free: 10.57 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003966/0.457, allocations: 0.8166 MB / 0.8269 GB, free: 9.828 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002281/0.4573, allocations: 298.1 kB / 0.8272 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4573, allocations: 0 / 0.8272 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.508e-05/0.4573, allocations: 123.3 kB / 0.8273 GB, free: 9.461 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.4575, allocations: 18.81 kB / 0.8273 GB, free: 9.453 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.459, allocations: 2.232 MB / 0.8295 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.193e-05/0.4591, allocations: 106.3 kB / 0.8296 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.34e-05/0.4591, allocations: 22.17 kB / 0.8296 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.058e-05/0.4592, allocations: 36.69 kB / 0.8297 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of SimCode: time 4.61e-07/0.4592, allocations: 0 / 0.8297 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.4761, allocations: 3.759 MB / 0.8333 GB, free: 6.434 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.769/7.246, allocations: 3.281 kB / 0.8333 GB, free: 6.434 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_IDEAS_Electrical_Utilities_Examples_TestVoltageCTRL.fmu > IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.165677343960851] Failed to read output from testmodel.py, exit status != 0: 7.32469048909843 7.335587698 6.881642344 Calling exit ...