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.00104/0.00104, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 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.0009727/0.0009727, allocations: 173 kB / 23.02 MB, free: 1.543 MB / 18.57 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.9113/0.9113, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.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-535:34: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-535:42: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.8551/0.8551, allocations: 154.9 MB / 414.8 MB, free: 408 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") translateModel(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.5207 GB, free: 1.758 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/2.956e-05, allocations: 2.844 kB / 0.5207 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003996/0.004026, allocations: 2.174 MB / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.005291, allocations: 0.6072 MB / 0.5235 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.005447, allocations: 0 / 0.5235 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.000162/0.005609, allocations: 23.67 kB / 0.5235 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.005746, allocations: 48.55 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.0061, allocations: 101.8 kB / 0.5236 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004007/0.006501, allocations: 283.2 kB / 0.5239 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000275/0.006776, allocations: 95.62 kB / 0.524 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002792/0.007055, allocations: 175.6 kB / 0.5242 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.007219, allocations: 100.5 kB / 0.5242 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.838e-05/0.007277, allocations: 24 kB / 0.5243 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.4e-05/0.007321, allocations: 28 kB / 0.5243 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.16e-05/0.007393, allocations: 68.55 kB / 0.5244 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.007509, allocations: 83.81 kB / 0.5244 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003383/0.007847, allocations: 208.3 kB / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.007852, allocations: 0 / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.583e-06/0.007854, allocations: 0 / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.007861, allocations: 5.375 kB / 0.5246 GB, free: 13.77 MB / 0.4948 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.001008/0.008869, allocations: 0.6741 MB / 0.5253 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.008912, allocations: 8.812 kB / 0.5253 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.009021, allocations: 52.75 kB / 0.5254 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000301/0.009322, allocations: 204 kB / 0.5256 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.484e-05/0.009357, allocations: 16.88 kB / 0.5256 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.64e-05/0.009404, allocations: 32.31 kB / 0.5256 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000477/0.009881, allocations: 296.7 kB / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.009891, allocations: 192 / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.009917, allocations: 8.375 kB / 0.5259 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.009929, allocations: 7.938 kB / 0.5259 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001886/0.01012, allocations: 75.44 kB / 0.526 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009678/0.01109, allocations: 0.551 MB / 0.5265 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.0113, allocations: 104.8 kB / 0.5266 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.778e-05/0.01138, allocations: 32.92 kB / 0.5266 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.0114, allocations: 4 kB / 0.5267 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000245/0.01165, allocations: 150.8 kB / 0.5268 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=20): time 1.784e-06/0.01165, allocations: 0 / 0.5268 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20): time 0.0004251/0.01208, allocations: 188 kB / 0.527 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/0.01215, allocations: 114.8 kB / 0.5271 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.01237, allocations: 261.5 kB / 0.5273 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.01242, allocations: 46.19 kB / 0.5274 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.01255, allocations: 204.1 kB / 0.5276 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.912e-05/0.01261, allocations: 55.58 kB / 0.5276 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.01273, allocations: 75.62 kB / 0.5277 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.01288, allocations: 0.5013 MB / 0.5282 GB, free: 9.898 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.01305, allocations: 133.1 kB / 0.5283 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.01327, allocations: 262.7 kB / 0.5286 GB, free: 9.426 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.01353, allocations: 221.7 kB / 0.5288 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01353, allocations: 0 / 0.5288 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000529/0.01406, allocations: 403.2 kB / 0.5292 GB, free: 8.734 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.555e-05/0.01414, allocations: 93.09 kB / 0.5292 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.01415, allocations: 6.781 kB / 0.5293 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.01417, allocations: 0 / 0.5293 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003035/0.01447, allocations: 51.91 kB / 0.5293 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.01448, allocations: 4 kB / 0.5293 GB, free: 8.566 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.01468, allocations: 51.75 kB / 0.5294 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.0147, allocations: 12.52 kB / 0.5294 GB, free: 8.504 MB / 0.4948 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.0001369/0.01484, allocations: 188.1 kB / 0.5295 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/0.01488, allocations: 27.86 kB / 0.5296 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.01515, allocations: 178.8 kB / 0.5297 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.01516, allocations: 5.203 kB / 0.5298 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.01516, allocations: 0 / 0.5298 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.01517, allocations: 3.938 kB / 0.5298 GB, free: 8.102 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004529/0.01562, allocations: 477.3 kB / 0.5302 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01562, allocations: 2.75 kB / 0.5302 GB, free: 7.594 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.282e-05/0.0157, allocations: 23.92 kB / 0.5302 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.01571, allocations: 0 / 0.5302 GB, free: 7.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.01573, allocations: 11.98 kB / 0.5302 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01573, allocations: 3.938 kB / 0.5302 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.01573, allocations: 0 / 0.5302 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.01598, allocations: 307.7 kB / 0.5305 GB, free: 7.234 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/0.016, allocations: 30.22 kB / 0.5306 GB, free: 7.207 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.01604, allocations: 8 kB / 0.5306 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.01617, allocations: 31.91 kB / 0.5306 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.01629, allocations: 47.91 kB / 0.5307 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.01631, allocations: 18.05 kB / 0.5307 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.715e-05/0.0164, allocations: 172.3 kB / 0.5308 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.0164, allocations: 0 / 0.5308 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002199/0.01662, allocations: 67.83 kB / 0.5309 GB, free: 6.871 MB / 0.4948 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.0001083/0.01673, allocations: 108.4 kB / 0.531 GB, free: 6.758 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003238/0.01705, allocations: 388.6 kB / 0.5314 GB, free: 6.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.01705, allocations: 0.6562 kB / 0.5314 GB, free: 6.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.01716, allocations: 77.94 kB / 0.5315 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.01742, allocations: 46.67 kB / 0.5315 GB, free: 6.203 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007321/0.01815, allocations: 394.5 kB / 0.5319 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.571e-05/0.01819, allocations: 76.33 kB / 0.5319 GB, free: 5.695 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.192e-05/0.01827, allocations: 21.39 kB / 0.532 GB, free: 5.672 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.482e-05/0.01834, allocations: 32.48 kB / 0.532 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of SimCode: time 4.3e-07/0.01834, allocations: 1.531 kB / 0.532 GB, free: 5.641 MB / 0.4948 GB Notification: Performance of Templates: time 0.005189/0.02353, allocations: 3.914 MB / 0.5358 GB, free: 1.953 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.730269548948854]