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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=100,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=100,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 113.1 kB / 17.33 MB, free: 5.008 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.002096/0.002096, allocations: 197.8 kB / 18.33 MB, free: 4.016 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.466/1.466, allocations: 225.6 MB / 244.8 MB, free: 13.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.858/0.858, allocations: 128.4 MB / 426.1 MB, free: 7.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 69.58 kB / 0.5912 GB, free: 21.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1794, allocations: 83.26 MB / 0.6725 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope): time 0.005471/0.1848, allocations: 3.215 MB / 0.6757 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002898/0.1877, allocations: 1.357 MB / 0.677 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003035/0.188, allocations: 7.938 kB / 0.677 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003983/0.1884, allocations: 115.1 kB / 0.6771 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006437/0.1891, allocations: 258.5 kB / 0.6773 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008127/0.1899, allocations: 346.2 kB / 0.6777 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001099/0.191, allocations: 0.846 MB / 0.6785 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004621/0.1914, allocations: 236.4 kB / 0.6787 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004188/0.1919, allocations: 334.8 kB / 0.679 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000536/0.1924, allocations: 434.2 kB / 0.6795 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.1925, allocations: 88 kB / 0.6795 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002197/0.1927, allocations: 124 kB / 0.6797 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002719/0.193, allocations: 259.2 kB / 0.6799 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003924/0.1934, allocations: 386 kB / 0.6803 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.1947, allocations: 1.156 MB / 0.6814 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1947, allocations: 0 / 0.6814 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1947, allocations: 0 / 0.6814 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.1947, allocations: 4 kB / 0.6814 GB, free: 10.67 MB / 0.5137 GB 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.002373/0.1971, allocations: 1.199 MB / 0.6826 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.1971, allocations: 16.56 kB / 0.6826 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.1973, allocations: 88.36 kB / 0.6827 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001359/0.1987, allocations: 0.6959 MB / 0.6834 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.512e-05/0.1987, allocations: 33 kB / 0.6834 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-05/0.1988, allocations: 40 kB / 0.6834 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.1998, allocations: 0.5148 MB / 0.6839 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1999, allocations: 0 / 0.6839 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.729e-05/0.1999, allocations: 16 kB / 0.6839 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.1999, allocations: 11.98 kB / 0.684 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000969/0.2009, allocations: 379.7 kB / 0.6843 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002291/0.2032, allocations: 1.371 MB / 0.6857 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008976/0.2041, allocations: 299.4 kB / 0.6859 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004535/0.2045, allocations: 169.2 kB / 0.6861 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.2046, allocations: 4.234 kB / 0.6861 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006735/0.2052, allocations: 285 kB / 0.6864 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=31): time 1.683e-06/0.2052, allocations: 0 / 0.6864 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31): time 0.001526/0.2068, allocations: 0.5128 MB / 0.6869 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/0.2069, allocations: 166.1 kB / 0.687 GB, free: 4.641 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.2081, allocations: 0.7969 MB / 0.6878 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.245e-05/0.2082, allocations: 41.7 kB / 0.6879 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003271/0.2085, allocations: 328.7 kB / 0.6882 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.619e-05/0.2086, allocations: 91.31 kB / 0.6883 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.2088, allocations: 86.05 kB / 0.6883 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002185/0.209, allocations: 382.8 kB / 0.6887 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004738/0.2094, allocations: 160.7 kB / 0.6889 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005267/0.21, allocations: 248.2 kB / 0.6891 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000868/0.2108, allocations: 385.4 kB / 0.6895 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.2108, allocations: 4 kB / 0.6895 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001221/0.2121, allocations: 0.5367 MB / 0.69 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.114e-05/0.2121, allocations: 67.33 kB / 0.6901 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.2121, allocations: 8 kB / 0.6901 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.2122, allocations: 0 / 0.6901 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.2125, allocations: 64.08 kB / 0.6901 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.2125, allocations: 7.938 kB / 0.6901 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004743/0.2129, allocations: 71.67 kB / 0.6902 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/0.213, allocations: 12 kB / 0.6902 GB, free: 1.254 MB / 0.5137 GB 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.000324/0.2133, allocations: 249.7 kB / 0.6904 GB, free: 1 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.2134, allocations: 67.52 kB / 0.6905 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.2145, allocations: 439.7 kB / 0.6909 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.2145, allocations: 4 kB / 0.6909 GB, free: 500 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2145, allocations: 4 kB / 0.6909 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.2145, allocations: 3.984 kB / 0.6909 GB, free: 492 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.2164, allocations: 1.154 MB / 0.6921 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.2165, allocations: 4.031 kB / 0.6921 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.2167, allocations: 47.83 kB / 0.6921 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.2167, allocations: 4 kB / 0.6921 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.2167, allocations: 11.98 kB / 0.6921 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.2167, allocations: 0 / 0.6921 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.2167, allocations: 48 / 0.6921 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.2178, allocations: 0.5813 MB / 0.6927 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001685/0.218, allocations: 160.6 kB / 0.6929 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.2181, allocations: 20 kB / 0.6929 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004525/0.2185, allocations: 43.94 kB / 0.6929 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/0.2187, allocations: 83.81 kB / 0.693 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/0.2187, allocations: 11.98 kB / 0.693 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007778/0.2195, allocations: 0.5576 MB / 0.6936 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2195, allocations: 0 / 0.6936 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005136/0.22, allocations: 123.8 kB / 0.6937 GB, free: 13.6 MB / 0.5294 GB 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.001322/0.2214, allocations: 385.8 kB / 0.694 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001167/0.2225, allocations: 479.1 kB / 0.6945 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2225, allocations: 0 / 0.6945 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005322/0.2231, allocations: 180.2 kB / 0.6947 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008966/0.224, allocations: 165.6 kB / 0.6948 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.2259, allocations: 1.026 MB / 0.6958 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006224/0.2265, allocations: 0.9184 MB / 0.6967 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003232/0.2268, allocations: 96.78 kB / 0.6968 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.227, allocations: 51.42 kB / 0.6969 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of SimCode: time 1.072e-06/0.227, allocations: 0 / 0.6969 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of Templates: time 0.01958/0.2466, allocations: 9.916 MB / 0.7065 GB, free: 0.5977 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.OperationalEnvelope.makefile [Timeout 660] (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) [Timeout 480]