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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 192.5 kB / 22.17 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 225.6 MB / 250.9 MB, free: 13.31 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9991/0.9991, allocations: 175.8 MB / 481.9 MB, free: 7.77 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001842/0.001842, allocations: 68.36 kB / 0.6706 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.4451, allocations: 94.52 MB / 0.7629 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003122/0.4482, allocations: 2.111 MB / 0.7649 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009116/0.4491, allocations: 0.5681 MB / 0.7655 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.4493, allocations: 8.438 kB / 0.7655 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.4494, allocations: 20.25 kB / 0.7655 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.713e-05/0.4495, allocations: 38.84 kB / 0.7656 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.4498, allocations: 89.7 kB / 0.7656 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003168/0.4501, allocations: 260.7 kB / 0.7659 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.4503, allocations: 93.69 kB / 0.766 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.4504, allocations: 108.1 kB / 0.7661 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.4505, allocations: 127.3 kB / 0.7662 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.323e-05/0.4506, allocations: 26.03 kB / 0.7662 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.512e-05/0.4506, allocations: 27.97 kB / 0.7663 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.726e-05/0.4507, allocations: 53.83 kB / 0.7663 GB, free: 8.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.564e-05/0.4508, allocations: 113.5 kB / 0.7664 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.4511, allocations: 278.8 kB / 0.7667 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.4511, allocations: 5.219 kB / 0.7667 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4511, allocations: 2.375 kB / 0.7667 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.4511, allocations: 0 / 0.7667 GB, free: 8.074 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001012/0.4521, allocations: 0.642 MB / 0.7673 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.4521, allocations: 8.625 kB / 0.7673 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.196e-05/0.4522, allocations: 28.38 kB / 0.7673 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.4525, allocations: 259.8 kB / 0.7676 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.4525, allocations: 22.16 kB / 0.7676 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.268e-05/0.4525, allocations: 24.36 kB / 0.7676 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005628/0.4531, allocations: 262.4 kB / 0.7679 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.4531, allocations: 0.7188 kB / 0.7679 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.4531, allocations: 8.359 kB / 0.7679 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.4531, allocations: 5.75 kB / 0.7679 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006404/0.4538, allocations: 199.8 kB / 0.7681 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009203/0.4547, allocations: 0.6182 MB / 0.7687 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007485/0.4554, allocations: 217.2 kB / 0.7689 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002889/0.4557, allocations: 91.11 kB / 0.769 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.4558, allocations: 1.062 kB / 0.769 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004247/0.4562, allocations: 195.3 kB / 0.7692 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.4562, allocations: 1 kB / 0.7692 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.0009876/0.4572, allocations: 334.9 kB / 0.7695 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.4572, allocations: 110.1 kB / 0.7696 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.4573, allocations: 201.3 kB / 0.7698 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.4574, allocations: 42.17 kB / 0.7698 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.4574, allocations: 156 kB / 0.77 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.4575, allocations: 48.62 kB / 0.77 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.412e-05/0.4575, allocations: 65.27 kB / 0.7701 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.62e-05/0.4576, allocations: 331.2 kB / 0.7704 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/0.4579, allocations: 108.7 kB / 0.7705 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003578/0.4583, allocations: 176.4 kB / 0.7707 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006062/0.4589, allocations: 314.6 kB / 0.771 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4589, allocations: 0.7188 kB / 0.771 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008166/0.4597, allocations: 418 kB / 0.7714 GB, free: 5.004 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.4598, allocations: 97.44 kB / 0.7715 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4598, allocations: 2.25 kB / 0.7715 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.4598, allocations: 6.344 kB / 0.7715 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.46, allocations: 48.91 kB / 0.7715 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.46, allocations: 2.75 kB / 0.7715 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/0.4603, allocations: 57.48 kB / 0.7716 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.4603, allocations: 10.88 kB / 0.7716 GB, free: 4.875 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 25 (antFre.disErr.y,$PRE.antFre.disErr.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,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 (31): * Single equations (assignments): 28 * 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.0001012/0.4604, allocations: 154.8 kB / 0.7717 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.161e-05/0.4605, allocations: 25.52 kB / 0.7718 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006932/0.4612, allocations: 254.6 kB / 0.772 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.4612, allocations: 5.344 kB / 0.772 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4612, allocations: 6.422 kB / 0.772 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.4612, allocations: 0 / 0.772 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008417/0.462, allocations: 0.5728 MB / 0.7726 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.462, allocations: 3.938 kB / 0.7726 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.4622, allocations: 37.81 kB / 0.7726 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4622, allocations: 1.219 kB / 0.7726 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.4622, allocations: 4.984 kB / 0.7726 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.4622, allocations: 1.281 kB / 0.7726 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4622, allocations: 0 / 0.7726 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006709/0.4629, allocations: 350.8 kB / 0.773 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.393e-05/0.4629, allocations: 94.98 kB / 0.7731 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.4629, allocations: 8.438 kB / 0.7731 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.4632, allocations: 42.02 kB / 0.7731 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.4634, allocations: 44.48 kB / 0.7731 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.4634, allocations: 6.375 kB / 0.7732 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.431e-05/0.4635, allocations: 152.2 kB / 0.7733 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4635, allocations: 3.938 kB / 0.7733 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002903/0.4638, allocations: 56.14 kB / 0.7734 GB, free: 3.801 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($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) * Number of discrete states: 6 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,hys.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 11 * 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 9.941e-05/0.4639, allocations: 114.5 kB / 0.7735 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008035/0.4647, allocations: 410.5 kB / 0.7739 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4647, allocations: 1.25 kB / 0.7739 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.465, allocations: 106.9 kB / 0.774 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003378/0.4654, allocations: 36.25 kB / 0.774 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007006/0.4661, allocations: 365.2 kB / 0.7743 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.4662, allocations: 0.736 MB / 0.7751 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 8.301e-05/0.4663, allocations: 17.06 kB / 0.7751 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.995e-05/0.4663, allocations: 29.91 kB / 0.7751 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.4663, allocations: 0 / 0.7751 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of Templates: time 0.006471/0.4728, allocations: 3.238 MB / 0.7783 GB, free: 2.258 MB / 0.5762 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 -s gbode -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.519631309900433] Failed to read output from testmodel.py, exit status != 0: 0.4799791988916695 0.492666759 0.038789442 Calling exit ...