Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 105.3 kB / 16.64 MB, free: 6.816 MB / 14.72 MB 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: 194 kB / 17.57 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7937/0.7937, allocations: 122.8 MB / 414.2 MB, free: 52 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 59.91 kB / 0.4913 GB, free: 7.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.441/0.4432, allocations: 77.92 MB / 0.5674 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003805/0.447, allocations: 2.122 MB / 0.5694 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009907/0.4481, allocations: 0.5376 MB / 0.57 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001223/0.4482, allocations: 3.25 kB / 0.57 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.4483, allocations: 22.8 kB / 0.57 GB, free: 30.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.147e-05/0.4485, allocations: 24.89 kB / 0.57 GB, free: 30.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.4487, allocations: 79 kB / 0.5701 GB, free: 30.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003261/0.4491, allocations: 274.5 kB / 0.5703 GB, free: 30.65 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.4493, allocations: 112.1 kB / 0.5704 GB, free: 30.6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.4495, allocations: 109.7 kB / 0.5706 GB, free: 30.54 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.4497, allocations: 122.3 kB / 0.5707 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.752e-05/0.4497, allocations: 26.88 kB / 0.5707 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.76e-05/0.4498, allocations: 27.19 kB / 0.5707 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.478e-05/0.4499, allocations: 58.53 kB / 0.5708 GB, free: 30.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.45, allocations: 114.2 kB / 0.5709 GB, free: 30.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.4503, allocations: 201.7 kB / 0.5711 GB, free: 30.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.4503, allocations: 4 kB / 0.5711 GB, free: 30.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4503, allocations: 0.75 kB / 0.5711 GB, free: 30.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.567e-06/0.4503, allocations: 0 / 0.5711 GB, free: 30.3 MB / 446.1 MB 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.001122/0.4515, allocations: 0.6361 MB / 0.5717 GB, free: 29.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.4515, allocations: 10.34 kB / 0.5717 GB, free: 29.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.721e-05/0.4516, allocations: 26.86 kB / 0.5717 GB, free: 29.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.4519, allocations: 256.6 kB / 0.572 GB, free: 29.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.4519, allocations: 18.81 kB / 0.572 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.714e-05/0.452, allocations: 24.91 kB / 0.572 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006657/0.4527, allocations: 269.9 kB / 0.5723 GB, free: 29.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.4527, allocations: 5.062 kB / 0.5723 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.4527, allocations: 7.438 kB / 0.5723 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.4527, allocations: 5.672 kB / 0.5723 GB, free: 29.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006864/0.4534, allocations: 195.4 kB / 0.5725 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.4546, allocations: 0.6165 MB / 0.5731 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008087/0.4554, allocations: 226 kB / 0.5733 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003205/0.4557, allocations: 88.28 kB / 0.5734 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.4557, allocations: 1.656 kB / 0.5734 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005714/0.4563, allocations: 194 kB / 0.5736 GB, free: 28.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.4563, allocations: 0 / 0.5736 GB, free: 28.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.001106/0.4575, allocations: 336.7 kB / 0.5739 GB, free: 28.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.4575, allocations: 112.8 kB / 0.574 GB, free: 28.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.4577, allocations: 204.3 kB / 0.5742 GB, free: 28.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.4578, allocations: 38.78 kB / 0.5742 GB, free: 28.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.341e-05/0.4579, allocations: 147.5 kB / 0.5744 GB, free: 28.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.4579, allocations: 52.22 kB / 0.5744 GB, free: 28.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.458, allocations: 61.14 kB / 0.5745 GB, free: 28.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.969e-05/0.4581, allocations: 335 kB / 0.5748 GB, free: 27.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003729/0.4585, allocations: 107.2 kB / 0.5749 GB, free: 27.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003931/0.4589, allocations: 175.9 kB / 0.5751 GB, free: 27.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006678/0.4596, allocations: 307.4 kB / 0.5754 GB, free: 27.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4596, allocations: 1.188 kB / 0.5754 GB, free: 27.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009149/0.4605, allocations: 425.6 kB / 0.5758 GB, free: 27.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.684e-05/0.4606, allocations: 87.78 kB / 0.5759 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.4606, allocations: 3.094 kB / 0.5759 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.4606, allocations: 6.188 kB / 0.5759 GB, free: 27.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002358/0.4608, allocations: 52.05 kB / 0.5759 GB, free: 27.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.4609, allocations: 2.938 kB / 0.5759 GB, free: 27.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003333/0.4612, allocations: 58.16 kB / 0.576 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.4612, allocations: 8.953 kB / 0.576 GB, free: 27.16 MB / 446.1 MB 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.0001424/0.4614, allocations: 148.7 kB / 0.5761 GB, free: 27.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/0.4614, allocations: 22.5 kB / 0.5761 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007855/0.4622, allocations: 259.2 kB / 0.5764 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.4622, allocations: 5.188 kB / 0.5764 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.4623, allocations: 1.156 kB / 0.5764 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4623, allocations: 2.156 kB / 0.5764 GB, free: 26.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.4633, allocations: 0.5779 MB / 0.577 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4633, allocations: 0 / 0.577 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.4635, allocations: 32.58 kB / 0.577 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.4635, allocations: 3.672 kB / 0.577 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.4635, allocations: 7.344 kB / 0.577 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4635, allocations: 1.469 kB / 0.577 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4635, allocations: 0 / 0.577 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007221/0.4642, allocations: 347.1 kB / 0.5773 GB, free: 26.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.4643, allocations: 104.5 kB / 0.5774 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.56e-05/0.4643, allocations: 14.25 kB / 0.5775 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003113/0.4647, allocations: 38.52 kB / 0.5775 GB, free: 26.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.4648, allocations: 45.16 kB / 0.5775 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.4649, allocations: 8.078 kB / 0.5775 GB, free: 26.22 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.465, allocations: 152.4 kB / 0.5777 GB, free: 26.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.465, allocations: 1.375 kB / 0.5777 GB, free: 26.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003232/0.4653, allocations: 56.11 kB / 0.5777 GB, free: 26.11 MB / 446.1 MB 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.0001458/0.4655, allocations: 120.1 kB / 0.5779 GB, free: 26.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008626/0.4663, allocations: 418 kB / 0.5783 GB, free: 25.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4663, allocations: 0 / 0.5783 GB, free: 25.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003573/0.4667, allocations: 113.8 kB / 0.5784 GB, free: 25.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.4671, allocations: 32.27 kB / 0.5784 GB, free: 25.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008638/0.468, allocations: 466.1 kB / 0.5788 GB, free: 25.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.4682, allocations: 0.7346 MB / 0.5796 GB, free: 24.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.454e-05/0.4683, allocations: 22.19 kB / 0.5796 GB, free: 24.69 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4683, allocations: 0 / 0.5796 GB, free: 24.69 MB / 446.1 MB Notification: Performance of Templates: time 0.005371/0.4736, allocations: 2.871 MB / 0.5824 GB, free: 23.49 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1)