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.001577/0.001577, allocations: 79.86 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001837/0.001837, allocations: 162.9 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.473/1.473, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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 1.172/1.172, allocations: 154.6 MB / 413.7 MB, free: 5.301 MB / 382.1 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 178] 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 2.254e-06/2.254e-06, allocations: 0 / 0.6186 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.231e-05/3.457e-05, allocations: 4.812 kB / 0.6186 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.004057/0.004092, allocations: 2.098 MB / 0.6206 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.005458, allocations: 0.5843 MB / 0.6212 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001796/0.005638, allocations: 4 kB / 0.6212 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.005803, allocations: 23.67 kB / 0.6212 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.005953, allocations: 39.59 kB / 0.6213 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.006332, allocations: 99.8 kB / 0.6214 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.00043/0.006762, allocations: 299.2 kB / 0.6216 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002897/0.007052, allocations: 87.61 kB / 0.6217 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000305/0.007357, allocations: 171.6 kB / 0.6219 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.007547, allocations: 103.7 kB / 0.622 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.334e-05/0.007621, allocations: 28 kB / 0.622 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.198e-05/0.007673, allocations: 28 kB / 0.622 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.591e-05/0.007749, allocations: 59.81 kB / 0.6221 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.007874, allocations: 91.73 kB / 0.6222 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004683/0.008342, allocations: 315 kB / 0.6225 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.00835, allocations: 0 / 0.6225 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.182e-06/0.008351, allocations: 8 kB / 0.6225 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.473e-05/0.008366, allocations: 0 / 0.6225 GB, free: 0.543 MB / 0.5294 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.001408/0.009774, allocations: 0.5968 MB / 0.6231 GB, free: 15.9 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.009816, allocations: 9.469 kB / 0.6231 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.009922, allocations: 32.75 kB / 0.6231 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004727/0.01039, allocations: 214.8 kB / 0.6233 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/0.01043, allocations: 24.8 kB / 0.6234 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.739e-05/0.01048, allocations: 24.38 kB / 0.6234 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008038/0.01128, allocations: 374 kB / 0.6237 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.01129, allocations: 192 / 0.6237 GB, free: 15.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.01133, allocations: 16.12 kB / 0.6237 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.01134, allocations: 4 kB / 0.6238 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007667/0.0121, allocations: 213.8 kB / 0.624 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.01337, allocations: 0.5141 MB / 0.6245 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000743/0.01411, allocations: 194.4 kB / 0.6246 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/0.01446, allocations: 92.78 kB / 0.6247 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.432e-05/0.01449, allocations: 7.969 kB / 0.6247 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005612/0.01505, allocations: 198.6 kB / 0.6249 GB, free: 13.9 MB / 0.545 GB Notification: Performance of pre-optimization done (n=20): time 2.464e-06/0.01506, allocations: 0 / 0.6249 GB, free: 13.9 MB / 0.545 GB Notification: Performance of matching and sorting (n=20): time 0.001317/0.01637, allocations: 351.5 kB / 0.6253 GB, free: 13.55 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.55e-05/0.01647, allocations: 110.8 kB / 0.6254 GB, free: 13.42 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.01675, allocations: 223.1 kB / 0.6256 GB, free: 13.19 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.391e-05/0.0168, allocations: 37.69 kB / 0.6256 GB, free: 13.14 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.01696, allocations: 156.4 kB / 0.6258 GB, free: 12.99 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.655e-05/0.01702, allocations: 59.58 kB / 0.6258 GB, free: 12.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.01717, allocations: 65.97 kB / 0.6259 GB, free: 12.86 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.01735, allocations: 338.8 kB / 0.6262 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004749/0.01782, allocations: 197.3 kB / 0.6264 GB, free: 12.31 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005534/0.01838, allocations: 312.7 kB / 0.6267 GB, free: 11.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007932/0.01917, allocations: 323 kB / 0.627 GB, free: 11.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.01917, allocations: 0 / 0.627 GB, free: 11.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00115/0.02032, allocations: 0.5123 MB / 0.6275 GB, free: 11.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.423e-05/0.02041, allocations: 93.09 kB / 0.6276 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.02041, allocations: 0 / 0.6276 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/0.02044, allocations: 4 kB / 0.6276 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.0207, allocations: 52.05 kB / 0.6276 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.02071, allocations: 3.938 kB / 0.6277 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003555/0.02107, allocations: 71.66 kB / 0.6277 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.301e-05/0.0211, allocations: 12 kB / 0.6277 GB, free: 10.79 MB / 0.545 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.0001914/0.02129, allocations: 148.9 kB / 0.6279 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.02134, allocations: 27.84 kB / 0.6279 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000837/0.02218, allocations: 269.9 kB / 0.6282 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.02218, allocations: 4 kB / 0.6282 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.02219, allocations: 3.938 kB / 0.6282 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.02219, allocations: 3.938 kB / 0.6282 GB, free: 10.33 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.02334, allocations: 0.5289 MB / 0.6287 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.02334, allocations: 0 / 0.6287 GB, free: 9.766 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.02353, allocations: 35.91 kB / 0.6287 GB, free: 9.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.02354, allocations: 0 / 0.6287 GB, free: 9.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.02356, allocations: 15.86 kB / 0.6287 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.02356, allocations: 4 kB / 0.6287 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.02357, allocations: 0 / 0.6287 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008571/0.02442, allocations: 359.2 kB / 0.6291 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.34e-05/0.02446, allocations: 15.91 kB / 0.6291 GB, free: 9.328 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.118e-05/0.02451, allocations: 11.94 kB / 0.6291 GB, free: 9.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/0.02483, allocations: 51.94 kB / 0.6292 GB, free: 9.266 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.02497, allocations: 51.91 kB / 0.6292 GB, free: 9.215 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.02499, allocations: 4 kB / 0.6292 GB, free: 9.211 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001406/0.02513, allocations: 152.2 kB / 0.6294 GB, free: 9.062 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.02513, allocations: 0 / 0.6294 GB, free: 9.062 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000338/0.02547, allocations: 63.83 kB / 0.6294 GB, free: 9 MB / 0.545 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.0001791/0.02565, allocations: 120.4 kB / 0.6295 GB, free: 8.871 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001043/0.02669, allocations: 0.4949 MB / 0.63 GB, free: 8.324 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.0267, allocations: 0 / 0.63 GB, free: 8.324 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003997/0.0271, allocations: 112.2 kB / 0.6301 GB, free: 8.215 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.0275, allocations: 38.61 kB / 0.6302 GB, free: 8.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009348/0.02844, allocations: 383.2 kB / 0.6305 GB, free: 7.777 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.02857, allocations: 130.2 kB / 0.6306 GB, free: 7.633 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001062/0.02868, allocations: 25.94 kB / 0.6307 GB, free: 7.605 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.906e-05/0.02878, allocations: 28.48 kB / 0.6307 GB, free: 7.578 MB / 0.545 GB Notification: Performance of SimCode: time 1.102e-06/0.02878, allocations: 0 / 0.6307 GB, free: 7.578 MB / 0.545 GB Notification: Performance of Templates: time 0.008535/0.03732, allocations: 3.676 MB / 0.6343 GB, free: 4 MB / 0.545 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.700200293213129] Failed to read output from testmodel.py, exit status != 0: 0.04726354405283928 0.061906344 0.050418958 Calling exit ...