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.001551/0.001551, allocations: 107.4 kB / 18.88 MB, free: 2.918 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.001632/0.001632, allocations: 199.9 kB / 22.17 MB, free: 4.637 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.341/1.341, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] 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 1.008/1.008, allocations: 175.8 MB / 481.9 MB, free: 7.703 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.001919/0.001919, allocations: 68.8 kB / 0.6706 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5173/0.5192, allocations: 94.52 MB / 0.7629 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003217/0.5225, allocations: 2.108 MB / 0.7649 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009171/0.5234, allocations: 0.5693 MB / 0.7655 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.5235, allocations: 7.156 kB / 0.7655 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001262/0.5236, allocations: 24.72 kB / 0.7655 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.398e-05/0.5237, allocations: 42.08 kB / 0.7656 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.524, allocations: 83.16 kB / 0.7656 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003084/0.5243, allocations: 263.7 kB / 0.7659 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002238/0.5245, allocations: 95.47 kB / 0.766 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.5246, allocations: 105.1 kB / 0.7661 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.5248, allocations: 123.1 kB / 0.7662 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.962e-05/0.5248, allocations: 32.02 kB / 0.7662 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.683e-05/0.5249, allocations: 25.28 kB / 0.7663 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.084e-05/0.5249, allocations: 58.12 kB / 0.7663 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.38e-05/0.525, allocations: 116.3 kB / 0.7664 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003629/0.5254, allocations: 274.6 kB / 0.7667 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5254, allocations: 1.125 kB / 0.7667 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.204e-06/0.5254, allocations: 1.875 kB / 0.7667 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.5254, allocations: 0 / 0.7667 GB, free: 8.07 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.001087/0.5265, allocations: 0.6387 MB / 0.7673 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.5265, allocations: 9.531 kB / 0.7673 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.442e-05/0.5266, allocations: 35.7 kB / 0.7674 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.5269, allocations: 255.3 kB / 0.7676 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.5269, allocations: 22.47 kB / 0.7676 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.993e-05/0.527, allocations: 20.48 kB / 0.7676 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006121/0.5276, allocations: 266.2 kB / 0.7679 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.5276, allocations: 0.875 kB / 0.7679 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.63e-05/0.5276, allocations: 7.875 kB / 0.7679 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.5276, allocations: 4.562 kB / 0.7679 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006989/0.5283, allocations: 201 kB / 0.7681 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001007/0.5293, allocations: 0.6169 MB / 0.7687 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007977/0.5301, allocations: 219.7 kB / 0.7689 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002859/0.5304, allocations: 84.3 kB / 0.769 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.5304, allocations: 5.906 kB / 0.769 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004279/0.5309, allocations: 196.8 kB / 0.7692 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.693e-06/0.5309, allocations: 0 / 0.7692 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.001019/0.5319, allocations: 331.6 kB / 0.7695 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.5319, allocations: 115.9 kB / 0.7696 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000153/0.5321, allocations: 200 kB / 0.7698 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/0.5321, allocations: 34.98 kB / 0.7698 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.853e-05/0.5322, allocations: 159.9 kB / 0.77 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.5322, allocations: 48.67 kB / 0.77 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.312e-05/0.5323, allocations: 70.81 kB / 0.7701 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.002e-05/0.5324, allocations: 329.2 kB / 0.7704 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/0.5327, allocations: 106 kB / 0.7705 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003629/0.5331, allocations: 180 kB / 0.7707 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006319/0.5337, allocations: 311.9 kB / 0.771 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.5337, allocations: 0 / 0.771 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008511/0.5346, allocations: 424.8 kB / 0.7714 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.337e-05/0.5346, allocations: 98.42 kB / 0.7715 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.5346, allocations: 1.625 kB / 0.7715 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.5346, allocations: 3.562 kB / 0.7715 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.5349, allocations: 45.52 kB / 0.7715 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.5349, allocations: 2.656 kB / 0.7715 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003175/0.5352, allocations: 62.25 kB / 0.7716 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.5352, allocations: 14.53 kB / 0.7716 GB, free: 4.867 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.0001115/0.5353, allocations: 145.8 kB / 0.7717 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.5354, allocations: 25.33 kB / 0.7718 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007105/0.5361, allocations: 254.8 kB / 0.772 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.5361, allocations: 2.375 kB / 0.772 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.5361, allocations: 1.031 kB / 0.772 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.5361, allocations: 6.609 kB / 0.772 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008821/0.537, allocations: 0.5738 MB / 0.7726 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.537, allocations: 0 / 0.7726 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.5371, allocations: 29.78 kB / 0.7726 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.5371, allocations: 0.8438 kB / 0.7726 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.5371, allocations: 8.016 kB / 0.7726 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5371, allocations: 0.9062 kB / 0.7726 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.5371, allocations: 11.53 kB / 0.7726 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006718/0.5378, allocations: 345.7 kB / 0.773 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.5379, allocations: 100.3 kB / 0.7731 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/0.5379, allocations: 13.12 kB / 0.7731 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/0.5382, allocations: 39.91 kB / 0.7731 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.5383, allocations: 44.91 kB / 0.7731 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.5383, allocations: 6.797 kB / 0.7732 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001025/0.5384, allocations: 148.5 kB / 0.7733 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.5384, allocations: 0 / 0.7733 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003071/0.5387, allocations: 60.55 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 0.0001351/0.5389, allocations: 118.8 kB / 0.7735 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000857/0.5397, allocations: 401.6 kB / 0.7738 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5397, allocations: 4.062 kB / 0.7739 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003699/0.5401, allocations: 104.3 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.0003655/0.5405, allocations: 41.98 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.0008186/0.5413, allocations: 397 kB / 0.7744 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.5415, allocations: 0.7321 MB / 0.7751 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.627e-05/0.5415, allocations: 29.64 kB / 0.7751 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.5415, allocations: 4.781 kB / 0.7751 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of Templates: time 0.005201/0.5467, allocations: 2.88 MB / 0.7779 GB, free: 2.188 MB / 0.5762 GB " [Timeout remaining time 659] 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: 8.115149375982583] Failed to read output from testmodel.py, exit status != 0: 0.5545324399136007 0.567878593 0.039572840000000005 Calling exit ...