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.0008638/0.0008638, allocations: 76.55 kB / 19.93 MB, free: 4.621 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.0009148/0.0009148, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.9031/0.9031, allocations: 177.1 MB / 203.5 MB, free: 5.75 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-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.7197/0.7197, allocations: 154.6 MB / 414.5 MB, free: 0.8203 MB / 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 2.434e-06/2.434e-06, allocations: 0 / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.473e-05/3.716e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.004477/0.004514, allocations: 2.1 MB / 0.6214 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.005905, allocations: 0.5766 MB / 0.622 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001878/0.006093, allocations: 4 kB / 0.622 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001626/0.006256, allocations: 27.61 kB / 0.622 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.006392, allocations: 43.59 kB / 0.622 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003825/0.006774, allocations: 95.86 kB / 0.6221 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0004009/0.007175, allocations: 295.2 kB / 0.6224 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002979/0.007473, allocations: 95.52 kB / 0.6225 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002709/0.007744, allocations: 167.7 kB / 0.6227 GB, free: 9.758 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.00791, allocations: 99.72 kB / 0.6227 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.772e-05/0.007967, allocations: 28 kB / 0.6228 GB, free: 9.633 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 3.576e-05/0.008003, allocations: 31.94 kB / 0.6228 GB, free: 9.602 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.404e-05/0.008067, allocations: 63.81 kB / 0.6229 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.008183, allocations: 95.72 kB / 0.623 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004245/0.008607, allocations: 311 kB / 0.6233 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.008613, allocations: 0 / 0.6233 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.894e-06/0.008615, allocations: 3.938 kB / 0.6233 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.008624, allocations: 0 / 0.6233 GB, free: 9.137 MB / 0.5886 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.001201/0.009825, allocations: 0.6007 MB / 0.6238 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.009874, allocations: 9.469 kB / 0.6239 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.505e-05/0.009969, allocations: 32.75 kB / 0.6239 GB, free: 8.449 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004885/0.01046, allocations: 202.8 kB / 0.6241 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/0.01049, allocations: 20.88 kB / 0.6241 GB, free: 8.199 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003092/0.01358, allocations: 24.36 kB / 0.6241 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005517/0.01413, allocations: 378 kB / 0.6245 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.01414, allocations: 192 / 0.6245 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.01417, allocations: 16.12 kB / 0.6245 GB, free: 7.758 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.01418, allocations: 4 kB / 0.6245 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003504/0.01453, allocations: 201.8 kB / 0.6247 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007947/0.01532, allocations: 0.5219 MB / 0.6252 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003572/0.01568, allocations: 202.3 kB / 0.6254 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.01583, allocations: 91.81 kB / 0.6255 GB, free: 6.707 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.01585, allocations: 4 kB / 0.6255 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002976/0.01615, allocations: 197.7 kB / 0.6257 GB, free: 6.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=20): time 2.655e-06/0.01615, allocations: 4 kB / 0.6257 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20): time 0.0006079/0.01676, allocations: 341.2 kB / 0.626 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.01682, allocations: 110.8 kB / 0.6261 GB, free: 6.023 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.01697, allocations: 223.1 kB / 0.6263 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.01699, allocations: 41.7 kB / 0.6264 GB, free: 5.746 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.266e-05/0.01707, allocations: 156.4 kB / 0.6265 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.01711, allocations: 63.52 kB / 0.6266 GB, free: 5.527 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.661e-05/0.01719, allocations: 69.97 kB / 0.6266 GB, free: 5.453 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.52e-05/0.01727, allocations: 334.8 kB / 0.627 GB, free: 5.117 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.0175, allocations: 197.3 kB / 0.6271 GB, free: 4.906 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.01775, allocations: 320.7 kB / 0.6275 GB, free: 4.535 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.0181, allocations: 311.6 kB / 0.6277 GB, free: 4.195 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.01811, allocations: 4 kB / 0.6278 GB, free: 4.191 MB / 0.5886 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000522/0.01863, allocations: 0.5123 MB / 0.6283 GB, free: 3.637 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.9e-05/0.01868, allocations: 93.27 kB / 0.6283 GB, free: 3.527 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.01868, allocations: 3.984 kB / 0.6283 GB, free: 3.523 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.0187, allocations: 4 kB / 0.6284 GB, free: 3.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.01883, allocations: 39.91 kB / 0.6284 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.01883, allocations: 11.92 kB / 0.6284 GB, free: 3.469 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.01899, allocations: 59.8 kB / 0.6285 GB, free: 3.41 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.019, allocations: 19.98 kB / 0.6285 GB, free: 3.391 MB / 0.5886 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.0001048/0.01911, allocations: 144.9 kB / 0.6286 GB, free: 3.242 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.01913, allocations: 23.86 kB / 0.6286 GB, free: 3.219 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004017/0.01953, allocations: 277.1 kB / 0.6289 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.01953, allocations: 7.984 kB / 0.6289 GB, free: 2.938 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.01954, allocations: 11.94 kB / 0.6289 GB, free: 2.926 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.01955, allocations: 3.984 kB / 0.6289 GB, free: 2.922 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005441/0.02009, allocations: 0.5174 MB / 0.6294 GB, free: 2.367 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.02009, allocations: 0 / 0.6294 GB, free: 2.367 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.255e-05/0.02016, allocations: 43.89 kB / 0.6295 GB, free: 2.324 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.02017, allocations: 0 / 0.6295 GB, free: 2.324 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.02018, allocations: 7.922 kB / 0.6295 GB, free: 2.316 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.02018, allocations: 4 kB / 0.6295 GB, free: 2.312 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.02018, allocations: 0 / 0.6295 GB, free: 2.312 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.02056, allocations: 361.4 kB / 0.6298 GB, free: 1.945 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.076e-05/0.02058, allocations: 23.83 kB / 0.6298 GB, free: 1.922 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.02061, allocations: 11.94 kB / 0.6299 GB, free: 1.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.02074, allocations: 43.94 kB / 0.6299 GB, free: 1.867 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.099e-05/0.02083, allocations: 51.88 kB / 0.63 GB, free: 1.816 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.02085, allocations: 7.984 kB / 0.63 GB, free: 1.809 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.54e-05/0.02092, allocations: 152.2 kB / 0.6301 GB, free: 1.66 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.02092, allocations: 4 kB / 0.6301 GB, free: 1.656 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001875/0.02111, allocations: 59.89 kB / 0.6302 GB, free: 1.598 MB / 0.5886 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.0001114/0.02122, allocations: 116.5 kB / 0.6303 GB, free: 1.477 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005049/0.02173, allocations: 0.4929 MB / 0.6308 GB, free: 0.9297 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.02173, allocations: 0 / 0.6308 GB, free: 0.9297 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001759/0.0219, allocations: 113.9 kB / 0.6309 GB, free: 0.8203 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.02215, allocations: 33.19 kB / 0.6309 GB, free: 0.793 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000553/0.0227, allocations: 421.1 kB / 0.6313 GB, free: 360 kB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.435e-05/0.02279, allocations: 130.2 kB / 0.6314 GB, free: 208 kB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.723e-05/0.02285, allocations: 36.48 kB / 0.6315 GB, free: 172 kB / 0.5886 GB Notification: Performance of SimCode: time 4.81e-07/0.02285, allocations: 0 / 0.6315 GB, free: 172 kB / 0.5886 GB Notification: Performance of Templates: time 0.003101/0.02595, allocations: 3.151 MB / 0.6345 GB, free: 13.04 MB / 0.6042 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.288362568244338] Failed to read output from testmodel.py, exit status != 0: 0.035080415196716785 0.050645271000000006 0.040086782 Calling exit ...