Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.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.0007595/0.0007595, allocations: 105.9 kB / 18.93 MB, free: 1.266 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.0008138/0.0008138, allocations: 214.3 kB / 22.26 MB, free: 3.848 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.9031/0.9031, allocations: 230.6 MB / 256 MB, free: 3.574 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7819/0.7819, allocations: 203.8 MB / 0.5042 GB, free: 0.7344 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze",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.0008689/0.0008689, allocations: 66.41 kB / 0.7183 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4543/0.4551, allocations: 102 MB / 0.8179 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002799/0.4579, allocations: 2.183 MB / 0.8201 GB, free: 12.46 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009181/0.4589, allocations: 0.6156 MB / 0.8207 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001549/0.459, allocations: 3.938 kB / 0.8207 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.4592, allocations: 31.66 kB / 0.8207 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.934e-05/0.4592, allocations: 39.59 kB / 0.8207 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.4595, allocations: 99.81 kB / 0.8208 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.4597, allocations: 287.1 kB / 0.8211 GB, free: 11.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002092/0.46, allocations: 103.3 kB / 0.8212 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.4601, allocations: 127.6 kB / 0.8213 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.4602, allocations: 127.4 kB / 0.8214 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.692e-05/0.4602, allocations: 32 kB / 0.8215 GB, free: 11.01 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.801e-05/0.4603, allocations: 28 kB / 0.8215 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.965e-05/0.4603, allocations: 67.75 kB / 0.8216 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.487e-05/0.4604, allocations: 119.4 kB / 0.8217 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.4607, allocations: 301 kB / 0.822 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4607, allocations: 0 / 0.822 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.156e-06/0.4607, allocations: 0 / 0.822 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.4607, allocations: 0 / 0.822 GB, free: 10.51 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009636/0.4617, allocations: 0.6006 MB / 0.8225 GB, free: 9.855 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.038e-05/0.4617, allocations: 9.469 kB / 0.8226 GB, free: 9.848 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.406e-05/0.4618, allocations: 63.09 kB / 0.8226 GB, free: 9.777 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.351e-05/0.4619, allocations: 32.75 kB / 0.8226 GB, free: 9.746 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.4623, allocations: 215.5 kB / 0.8228 GB, free: 9.508 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.4623, allocations: 12.81 kB / 0.8229 GB, free: 9.496 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.4624, allocations: 32.36 kB / 0.8229 GB, free: 9.465 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004296/0.4628, allocations: 295.4 kB / 0.8232 GB, free: 9.16 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.4628, allocations: 0 / 0.8232 GB, free: 9.16 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.4628, allocations: 12 kB / 0.8232 GB, free: 9.148 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.4628, allocations: 8 kB / 0.8232 GB, free: 9.141 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003681/0.4632, allocations: 213.5 kB / 0.8234 GB, free: 8.934 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008019/0.464, allocations: 0.6273 MB / 0.824 GB, free: 8.262 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.4644, allocations: 198.4 kB / 0.8242 GB, free: 8.059 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.4645, allocations: 84.78 kB / 0.8243 GB, free: 7.973 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.4645, allocations: 0 / 0.8243 GB, free: 7.973 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000297/0.4648, allocations: 203.1 kB / 0.8245 GB, free: 7.762 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=20): time 1.252e-06/0.4648, allocations: 0 / 0.8245 GB, free: 7.762 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20): time 0.0005976/0.4654, allocations: 351.3 kB / 0.8248 GB, free: 7.414 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.4655, allocations: 106.8 kB / 0.8249 GB, free: 7.285 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.4656, allocations: 214.7 kB / 0.8251 GB, free: 7.066 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.4657, allocations: 41.69 kB / 0.8252 GB, free: 7.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.535e-05/0.4657, allocations: 164.9 kB / 0.8253 GB, free: 6.855 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.382e-05/0.4658, allocations: 51.64 kB / 0.8254 GB, free: 6.805 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.806e-05/0.4658, allocations: 73.92 kB / 0.8254 GB, free: 6.727 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.053e-05/0.4659, allocations: 338.8 kB / 0.8258 GB, free: 6.387 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.4661, allocations: 116.2 kB / 0.8259 GB, free: 6.273 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.4664, allocations: 183.5 kB / 0.826 GB, free: 6.066 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003549/0.4667, allocations: 315.9 kB / 0.8263 GB, free: 5.723 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4667, allocations: 0 / 0.8263 GB, free: 5.723 MB / 0.6042 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005059/0.4672, allocations: 435.5 kB / 0.8268 GB, free: 5.273 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.083e-05/0.4673, allocations: 89.09 kB / 0.8268 GB, free: 5.168 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.4673, allocations: 0 / 0.8268 GB, free: 5.168 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.4673, allocations: 7.938 kB / 0.8269 GB, free: 5.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.4674, allocations: 55.88 kB / 0.8269 GB, free: 5.105 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.4674, allocations: 0 / 0.8269 GB, free: 5.105 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.4676, allocations: 71.88 kB / 0.827 GB, free: 5.035 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.4676, allocations: 12 kB / 0.827 GB, free: 5.023 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 28 (antFre.disErr.y,$PRE.antFre.disErr.y,ySetOn.y,$PRE.ySetOn.y,TEvaOutEmu.count,$PRE.TEvaOutEmu.count,TEvaOutEmu.T_start,$PRE.TEvaOutEmu.T_start,TConInEmu.count,$PRE.TConInEmu.count,TConInEmu.T_start,$PRE.TConInEmu.T_start,ySetPul.count,$PRE.ySetPul.count,ySetPul.T_start,$PRE.ySetPul.T_start,antFre.hys.y,$PRE.antFre.hys.y,antFre.errAndSetOn.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,antFre.intConOne.y,antFre.disErr.local_set,antFre.disErr.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * 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 0.0001126/0.4677, allocations: 148.9 kB / 0.8271 GB, free: 4.871 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.4677, allocations: 23.83 kB / 0.8271 GB, free: 4.848 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004118/0.4681, allocations: 279.2 kB / 0.8274 GB, free: 4.566 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.4681, allocations: 4 kB / 0.8274 GB, free: 4.562 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4681, allocations: 0 / 0.8274 GB, free: 4.562 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4681, allocations: 0 / 0.8274 GB, free: 4.562 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006022/0.4688, allocations: 0.5968 MB / 0.828 GB, free: 3.918 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.4688, allocations: 0 / 0.828 GB, free: 3.918 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.156e-05/0.4688, allocations: 31.91 kB / 0.828 GB, free: 3.887 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4688, allocations: 3.984 kB / 0.828 GB, free: 3.883 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.553e-05/0.4689, allocations: 8 kB / 0.828 GB, free: 3.875 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4689, allocations: 4 kB / 0.828 GB, free: 3.871 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4689, allocations: 0 / 0.828 GB, free: 3.871 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.4692, allocations: 355.2 kB / 0.8284 GB, free: 3.508 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.139e-05/0.4693, allocations: 23.86 kB / 0.8284 GB, free: 3.484 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.4693, allocations: 4 kB / 0.8284 GB, free: 3.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.4694, allocations: 51.94 kB / 0.8285 GB, free: 3.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.273e-05/0.4695, allocations: 47.91 kB / 0.8285 GB, free: 3.383 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.4695, allocations: 15.92 kB / 0.8285 GB, free: 3.367 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.944e-05/0.4696, allocations: 148.4 kB / 0.8287 GB, free: 3.223 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4696, allocations: 0 / 0.8287 GB, free: 3.223 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002072/0.4698, allocations: 59.89 kB / 0.8287 GB, free: 3.164 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (antFre.errAndSetOn.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,antFre.disErr.y,antFre.hys.y,ySetPul.T_start,ySetPul.count,TConInEmu.T_start,TConInEmu.count,TEvaOutEmu.T_start,TEvaOutEmu.count,ySetOn.y) * Number of discrete states: 7 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,hys.y,ySetOn.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.0008093/0.4706, allocations: 1.019 MB / 0.8297 GB, free: 2.117 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005319/0.4712, allocations: 428.2 kB / 0.8301 GB, free: 1.664 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4712, allocations: 0 / 0.8301 GB, free: 1.664 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.4713, allocations: 111.8 kB / 0.8302 GB, free: 1.555 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.4716, allocations: 48.75 kB / 0.8303 GB, free: 1.512 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002538/0.4741, allocations: 2.689 MB / 0.8329 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.4744, allocations: 0.7519 MB / 0.8336 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.786e-05/0.4744, allocations: 25.94 kB / 0.8337 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.4745, allocations: 79.39 kB / 0.8337 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.4745, allocations: 0 / 0.8337 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.493, allocations: 5.938 MB / 0.8395 GB, free: 8.074 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.949/7.442, allocations: 2.281 kB / 0.8395 GB, free: 8.074 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 1 IDEAS_dev_IDEAS_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.287105090217665] Failed to read output from testmodel.py, exit status != 0: 7.519665848929435 7.528867548 7.0664888 Calling exit ...