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.001224/0.001224, allocations: 73.88 kB / 20.65 MB, free: 3.844 MB / 18.57 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.001087/0.001087, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.9478/0.9478, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.8733/0.8733, allocations: 154.9 MB / 415.9 MB, free: 276 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.924e-06/1.924e-06, allocations: 0 / 0.522 GB, free: 404 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.731e-05/2.924e-05, allocations: 9.234 kB / 0.522 GB, free: 396 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003129/0.003158, allocations: 2.151 MB / 0.5241 GB, free: 14.25 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009953/0.004154, allocations: 0.595 MB / 0.5246 GB, free: 13.65 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.004306, allocations: 7.938 kB / 0.5246 GB, free: 13.64 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.004444, allocations: 23.67 kB / 0.5247 GB, free: 13.62 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.004555, allocations: 45.56 kB / 0.5247 GB, free: 13.57 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.004921, allocations: 95.86 kB / 0.5248 GB, free: 13.48 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003212/0.005242, allocations: 292.8 kB / 0.5251 GB, free: 13.2 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002288/0.005471, allocations: 99.52 kB / 0.5252 GB, free: 13.1 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003164/0.005788, allocations: 167.7 kB / 0.5253 GB, free: 12.93 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.005961, allocations: 95.73 kB / 0.5254 GB, free: 12.84 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.024e-05/0.006011, allocations: 32.88 kB / 0.5255 GB, free: 12.81 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.547e-05/0.006046, allocations: 28 kB / 0.5255 GB, free: 12.78 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.428e-05/0.006121, allocations: 65.2 kB / 0.5256 GB, free: 12.72 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 8.576e-05/0.006206, allocations: 83.75 kB / 0.5256 GB, free: 12.64 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.006541, allocations: 207.2 kB / 0.5258 GB, free: 12.43 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.006546, allocations: 0 / 0.5258 GB, free: 12.43 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.006548, allocations: 1.156 kB / 0.5258 GB, free: 12.43 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.006556, allocations: 0 / 0.5258 GB, free: 12.43 MB / 458.7 MB 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.0008547/0.007411, allocations: 0.6752 MB / 0.5265 GB, free: 11.71 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.007452, allocations: 8.031 kB / 0.5265 GB, free: 11.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.219e-05/0.007534, allocations: 52.75 kB / 0.5265 GB, free: 11.65 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.007769, allocations: 198.3 kB / 0.5267 GB, free: 11.43 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.007797, allocations: 20.88 kB / 0.5268 GB, free: 11.41 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.007834, allocations: 24.38 kB / 0.5268 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003569/0.008191, allocations: 289.4 kB / 0.5271 GB, free: 11.07 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.008201, allocations: 2.031 kB / 0.5271 GB, free: 11.07 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.008219, allocations: 4.375 kB / 0.5271 GB, free: 11.07 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.679e-06/0.008229, allocations: 15.88 kB / 0.5271 GB, free: 11.05 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.791e-05/0.008327, allocations: 51.45 kB / 0.5271 GB, free: 11 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007377/0.009065, allocations: 0.5236 MB / 0.5276 GB, free: 10.45 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.009222, allocations: 97.95 kB / 0.5277 GB, free: 10.35 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.405e-05/0.009266, allocations: 35.66 kB / 0.5278 GB, free: 10.31 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.009287, allocations: 4 kB / 0.5278 GB, free: 10.3 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.00947, allocations: 141.8 kB / 0.5279 GB, free: 10.15 MB / 458.7 MB Notification: Performance of pre-optimization done (n=20): time 2.485e-06/0.009472, allocations: 0 / 0.5279 GB, free: 10.15 MB / 458.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005718/0.01004, allocations: 161.5 kB / 0.5281 GB, free: 9.988 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.0101, allocations: 112.1 kB / 0.5282 GB, free: 9.855 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.01025, allocations: 265.7 kB / 0.5284 GB, free: 9.578 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.01028, allocations: 41.7 kB / 0.5285 GB, free: 9.531 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.01038, allocations: 203.6 kB / 0.5287 GB, free: 9.328 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.01042, allocations: 63.48 kB / 0.5287 GB, free: 9.266 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.315e-05/0.01051, allocations: 84.02 kB / 0.5288 GB, free: 9.176 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.01064, allocations: 0.5088 MB / 0.5293 GB, free: 8.656 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.353e-05/0.01073, allocations: 113.4 kB / 0.5294 GB, free: 8.527 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.01087, allocations: 254.7 kB / 0.5296 GB, free: 8.211 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.01103, allocations: 210.6 kB / 0.5298 GB, free: 7.965 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.01103, allocations: 0 / 0.5298 GB, free: 7.965 MB / 458.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003327/0.01136, allocations: 383.1 kB / 0.5302 GB, free: 7.551 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.744e-05/0.01142, allocations: 93.09 kB / 0.5303 GB, free: 7.441 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.01143, allocations: 0 / 0.5303 GB, free: 7.441 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.01144, allocations: 8 kB / 0.5303 GB, free: 7.434 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.01158, allocations: 46.34 kB / 0.5303 GB, free: 7.391 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.01159, allocations: 7.938 kB / 0.5304 GB, free: 7.383 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.01173, allocations: 55.81 kB / 0.5304 GB, free: 7.328 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.01175, allocations: 7.938 kB / 0.5304 GB, free: 7.32 MB / 458.7 MB 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,antFre.disErr.local_reset,antFre.disErr.local_set,antFre.intConOne.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) * 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.0001283/0.01188, allocations: 185 kB / 0.5306 GB, free: 7.133 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.01191, allocations: 31.86 kB / 0.5306 GB, free: 7.102 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.01214, allocations: 154.2 kB / 0.5308 GB, free: 6.945 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.01215, allocations: 4 kB / 0.5308 GB, free: 6.941 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.01215, allocations: 1.031 kB / 0.5308 GB, free: 6.941 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.01215, allocations: 0 / 0.5308 GB, free: 6.941 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004109/0.01256, allocations: 449.6 kB / 0.5312 GB, free: 6.469 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.01257, allocations: 4.875 kB / 0.5312 GB, free: 6.465 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.852e-05/0.01263, allocations: 23.97 kB / 0.5312 GB, free: 6.441 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.01264, allocations: 3.062 kB / 0.5312 GB, free: 6.441 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.01266, allocations: 11.98 kB / 0.5312 GB, free: 6.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.01266, allocations: 0 / 0.5312 GB, free: 6.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01266, allocations: 0 / 0.5312 GB, free: 6.43 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.01287, allocations: 313.6 kB / 0.5315 GB, free: 6.105 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.038e-05/0.01289, allocations: 19.83 kB / 0.5316 GB, free: 6.086 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.01292, allocations: 8 kB / 0.5316 GB, free: 6.078 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.01304, allocations: 30.72 kB / 0.5316 GB, free: 6.051 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.221e-05/0.01313, allocations: 55.84 kB / 0.5317 GB, free: 5.996 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.01315, allocations: 7.984 kB / 0.5317 GB, free: 5.988 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.804e-05/0.01323, allocations: 172.3 kB / 0.5318 GB, free: 5.82 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01323, allocations: 0 / 0.5318 GB, free: 5.82 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002239/0.01345, allocations: 59.91 kB / 0.5319 GB, free: 5.762 MB / 458.7 MB 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.0001311/0.01358, allocations: 112.7 kB / 0.532 GB, free: 5.641 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003185/0.0139, allocations: 377.2 kB / 0.5323 GB, free: 5.215 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.0139, allocations: 0 / 0.5323 GB, free: 5.215 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.192e-05/0.01399, allocations: 64.23 kB / 0.5324 GB, free: 5.148 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.01426, allocations: 56.98 kB / 0.5325 GB, free: 5.098 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007214/0.01498, allocations: 384.1 kB / 0.5328 GB, free: 4.699 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.687e-05/0.01504, allocations: 88.7 kB / 0.5329 GB, free: 4.594 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.127e-05/0.01512, allocations: 21.64 kB / 0.5329 GB, free: 4.574 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.01527, allocations: 122.2 kB / 0.5331 GB, free: 4.453 MB / 458.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01528, allocations: 0 / 0.5331 GB, free: 4.453 MB / 458.7 MB Notification: Performance of Templates: time 0.006548/0.02182, allocations: 4.054 MB / 0.537 GB, free: 0.6367 MB / 458.7 MB " [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.8903829930350184]