Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.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.OperationalEnvelope,tolerance=1e-08,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope") translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope,tolerance=1e-08,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 107.7 kB / 15.99 MB, free: 6.348 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.00121/0.00121, allocations: 197 kB / 16.91 MB, free: 6.191 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.356/1.356, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.803/0.803, allocations: 126.1 MB / 416.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 63.91 kB / 0.4945 GB, free: 3.867 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.375, allocations: 78.7 MB / 0.5714 GB, free: 30.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope): time 0.005182/0.3802, allocations: 3.205 MB / 0.5745 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00241/0.3826, allocations: 1.317 MB / 0.5758 GB, free: 27.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000522/0.3832, allocations: 5.438 kB / 0.5758 GB, free: 27.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004517/0.3837, allocations: 81.97 kB / 0.5759 GB, free: 27.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007253/0.3844, allocations: 224.1 kB / 0.5761 GB, free: 27.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000782/0.3852, allocations: 317.9 kB / 0.5764 GB, free: 26.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009532/0.3862, allocations: 0.8491 MB / 0.5772 GB, free: 26.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005354/0.3867, allocations: 323.2 kB / 0.5775 GB, free: 26.39 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003899/0.3871, allocations: 331.7 kB / 0.5778 GB, free: 26.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004829/0.3876, allocations: 434.3 kB / 0.5782 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.3878, allocations: 87.5 kB / 0.5783 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002312/0.388, allocations: 125.2 kB / 0.5784 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002479/0.3883, allocations: 249.2 kB / 0.5787 GB, free: 25.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003352/0.3886, allocations: 387.8 kB / 0.5791 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.3898, allocations: 1.134 MB / 0.5802 GB, free: 24.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3898, allocations: 0.5938 kB / 0.5802 GB, free: 24.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3898, allocations: 1.344 kB / 0.5802 GB, free: 24.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.72e-05/0.3898, allocations: 1.5 kB / 0.5802 GB, free: 24.98 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.002259/0.3921, allocations: 1.175 MB / 0.5813 GB, free: 24.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.3921, allocations: 8.875 kB / 0.5813 GB, free: 24.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/0.3923, allocations: 82.59 kB / 0.5814 GB, free: 24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.3935, allocations: 0.6855 MB / 0.5821 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.006e-05/0.3935, allocations: 40.5 kB / 0.5821 GB, free: 23.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.658e-05/0.3936, allocations: 48.27 kB / 0.5822 GB, free: 23.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.3946, allocations: 0.5061 MB / 0.5826 GB, free: 23.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.3946, allocations: 3.938 kB / 0.5826 GB, free: 23.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.491e-05/0.3947, allocations: 20.34 kB / 0.5827 GB, free: 23.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.3947, allocations: 10.56 kB / 0.5827 GB, free: 23.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009364/0.3956, allocations: 372.1 kB / 0.583 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002306/0.398, allocations: 1.385 MB / 0.5844 GB, free: 21.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008138/0.3988, allocations: 315.8 kB / 0.5847 GB, free: 21.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004091/0.3992, allocations: 169 kB / 0.5848 GB, free: 21.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.311e-05/0.3993, allocations: 11.66 kB / 0.5849 GB, free: 21.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006674/0.3999, allocations: 271.2 kB / 0.5851 GB, free: 21.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=31): time 2.444e-06/0.4, allocations: 3.984 kB / 0.5851 GB, free: 21.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=31): time 0.001517/0.4015, allocations: 0.5187 MB / 0.5856 GB, free: 21.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.4015, allocations: 164.4 kB / 0.5858 GB, free: 20.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.4026, allocations: 0.7935 MB / 0.5866 GB, free: 20.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.585e-05/0.4026, allocations: 45.64 kB / 0.5866 GB, free: 20.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.4028, allocations: 327.1 kB / 0.5869 GB, free: 20.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.195e-05/0.4029, allocations: 86.52 kB / 0.587 GB, free: 20.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.403, allocations: 85.02 kB / 0.5871 GB, free: 20.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.622e-05/0.4031, allocations: 377.5 kB / 0.5874 GB, free: 19.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004362/0.4036, allocations: 165.8 kB / 0.5876 GB, free: 19.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004915/0.4041, allocations: 249.4 kB / 0.5878 GB, free: 19.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007645/0.4049, allocations: 377.8 kB / 0.5882 GB, free: 19.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.4049, allocations: 0 / 0.5882 GB, free: 19.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001179/0.4061, allocations: 0.5375 MB / 0.5887 GB, free: 18.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/0.4061, allocations: 64.94 kB / 0.5888 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.4061, allocations: 1.156 kB / 0.5888 GB, free: 18.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.4061, allocations: 8.094 kB / 0.5888 GB, free: 18.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/0.4064, allocations: 61.97 kB / 0.5889 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.4065, allocations: 4.031 kB / 0.5889 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005062/0.407, allocations: 73.91 kB / 0.5889 GB, free: 18.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.694e-05/0.407, allocations: 17.97 kB / 0.5889 GB, free: 18.74 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 34 (opeEnv.disErr.y,$PRE.opeEnv.disErr.y,TEvaInEmu.count,$PRE.TEvaInEmu.count,TEvaInEmu.T_start,$PRE.TEvaInEmu.T_start,TConOutEmu.count,$PRE.TConOutEmu.count,TConOutEmu.T_start,$PRE.TConOutEmu.T_start,opeEnv.bouMapCoo.hysBou.y,$PRE.opeEnv.bouMapCoo.hysBou.y,opeEnv.bouMapCoo.hysRig.y,$PRE.opeEnv.bouMapCoo.hysRig.y,opeEnv.bouMapCoo.hysLef.y,$PRE.opeEnv.bouMapCoo.hysLef.y,opeEnv.bouMapCoo.noErr,opeEnv.bouMapHea.hysBou.y,$PRE.opeEnv.bouMapHea.hysBou.y,opeEnv.bouMapHea.hysRig.y,$PRE.opeEnv.bouMapHea.hysRig.y,opeEnv.bouMapHea.hysLef.y,$PRE.opeEnv.bouMapHea.hysLef.y,opeEnv.bouMapHea.noErr,opeEnv.booPasThr.y,hys.y,$PRE.hys.y,sigBus.hea,$whenCondition1,$whenCondition2,$whenCondition3,opeEnv.intConOne.y,opeEnv.disErr.local_set,opeEnv.disErr.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 2 * 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.0003005/0.4073, allocations: 241.8 kB / 0.5892 GB, free: 18.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.4075, allocations: 66.88 kB / 0.5892 GB, free: 18.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.4085, allocations: 429.8 kB / 0.5896 GB, free: 18.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.4085, allocations: 4.281 kB / 0.5897 GB, free: 18.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4086, allocations: 0.9688 kB / 0.5897 GB, free: 18.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.4086, allocations: 2.906 kB / 0.5897 GB, free: 18.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.4103, allocations: 1.162 MB / 0.5908 GB, free: 17.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.4103, allocations: 1.344 kB / 0.5908 GB, free: 17.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/0.4106, allocations: 47.95 kB / 0.5908 GB, free: 17.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.4106, allocations: 1.359 kB / 0.5908 GB, free: 17.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.4106, allocations: 14.56 kB / 0.5909 GB, free: 17.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.4106, allocations: 2.969 kB / 0.5909 GB, free: 17.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.4106, allocations: 0 / 0.5909 GB, free: 17.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.4117, allocations: 0.579 MB / 0.5914 GB, free: 16.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.4119, allocations: 156.2 kB / 0.5916 GB, free: 16.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.412, allocations: 26.17 kB / 0.5916 GB, free: 16.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004826/0.4125, allocations: 39.52 kB / 0.5916 GB, free: 16.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.4127, allocations: 80 kB / 0.5917 GB, free: 16.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.4127, allocations: 9 kB / 0.5917 GB, free: 16.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006587/0.4134, allocations: 0.5573 MB / 0.5923 GB, free: 16.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4134, allocations: 0.8125 kB / 0.5923 GB, free: 16.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005795/0.414, allocations: 129.6 kB / 0.5924 GB, free: 16.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 21 (opeEnv.booPasThr.y,opeEnv.bouMapHea.noErr,opeEnv.bouMapCoo.noErr,$cse1,$cse2,$whenCondition3,$whenCondition2,$whenCondition1,sigBus.hea,hys.y,opeEnv.disErr.y,opeEnv.bouMapHea.hysLef.y,opeEnv.bouMapHea.hysRig.y,opeEnv.bouMapHea.hysBou.y,opeEnv.bouMapCoo.hysLef.y,opeEnv.bouMapCoo.hysRig.y,opeEnv.bouMapCoo.hysBou.y,TConOutEmu.T_start,TConOutEmu.count,TEvaInEmu.T_start,TEvaInEmu.count) * Number of discrete states: 10 (TEvaInEmu.count,TConOutEmu.count,opeEnv.bouMapCoo.hysLef.y,opeEnv.bouMapCoo.hysRig.y,opeEnv.bouMapHea.hysLef.y,opeEnv.bouMapHea.hysRig.y,opeEnv.bouMapCoo.hysBou.y,opeEnv.bouMapHea.hysBou.y,hys.y,opeEnv.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000854/0.4148, allocations: 394.8 kB / 0.5928 GB, free: 16.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001178/0.416, allocations: 0.5087 MB / 0.5933 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.416, allocations: 0 / 0.5933 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005022/0.4165, allocations: 192 kB / 0.5934 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009814/0.4175, allocations: 172.1 kB / 0.5936 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.4191, allocations: 1.203 MB / 0.5948 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.4194, allocations: 0.9107 MB / 0.5957 GB, free: 13.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003832/0.4198, allocations: 92.78 kB / 0.5958 GB, free: 13.49 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.42, allocations: 51.42 kB / 0.5958 GB, free: 13.44 MB / 446.1 MB Notification: Performance of SimCode: time 7.72e-07/0.42, allocations: 4 kB / 0.5958 GB, free: 13.43 MB / 446.1 MB Notification: Performance of Templates: time 0.01445/0.4345, allocations: 9.346 MB / 0.6049 GB, free: 4.258 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.pipe 2>&1)