Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.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.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy") 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: 108.4 kB / 17.03 MB, free: 5.699 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.0009988/0.0009992, allocations: 194.9 kB / 17.97 MB, free: 5.078 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.257/1.257, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6726/0.6726, allocations: 115.1 MB / 406.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 67.88 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3624, allocations: 76.14 MB / 0.5576 GB, free: 36.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1716/0.534, allocations: 161.3 MB / 0.7151 GB, free: 2.676 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005605/0.5397, allocations: 4.555 MB / 0.7196 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005167/0.5402, allocations: 11.94 kB / 0.7196 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004765/0.5407, allocations: 123.1 kB / 0.7197 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008688/0.5417, allocations: 334.4 kB / 0.72 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008301/0.5425, allocations: 278 kB / 0.7203 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006679/0.5432, allocations: 0.5649 MB / 0.7208 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003465/0.5435, allocations: 205 kB / 0.721 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009743/0.5445, allocations: 458.2 kB / 0.7215 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000266/0.5448, allocations: 191.2 kB / 0.7216 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.287e-05/0.5448, allocations: 16 kB / 0.7217 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001693/0.545, allocations: 79.92 kB / 0.7217 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.5451, allocations: 87.78 kB / 0.7218 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.5453, allocations: 119.4 kB / 0.7219 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003897/0.5457, allocations: 303 kB / 0.7222 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.5457, allocations: 4 kB / 0.7222 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5457, allocations: 0 / 0.7222 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.5457, allocations: 0 / 0.7222 GB, free: 11.38 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008475/0.5466, allocations: 0.5334 MB / 0.7228 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.5466, allocations: 8.031 kB / 0.7228 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.632e-05/0.5467, allocations: 31.66 kB / 0.7228 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.5471, allocations: 283.4 kB / 0.7231 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.5471, allocations: 12 kB / 0.7231 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.5472, allocations: 20 kB / 0.7231 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/0.5476, allocations: 269.6 kB / 0.7233 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.5476, allocations: 4 kB / 0.7234 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.5476, allocations: 7.938 kB / 0.7234 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.5477, allocations: 4 kB / 0.7234 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003134/0.548, allocations: 159.8 kB / 0.7235 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.5492, allocations: 1.36 MB / 0.7248 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.5495, allocations: 183.7 kB / 0.725 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.5497, allocations: 101 kB / 0.7251 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000332/0.55, allocations: 117 kB / 0.7252 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.5501, allocations: 46.44 kB / 0.7253 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.5501, allocations: 0 / 0.7253 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0005763/0.5506, allocations: 205.7 kB / 0.7255 GB, free: 7.742 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.699e-05/0.5507, allocations: 191.9 kB / 0.7256 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.551, allocations: 287 kB / 0.7259 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.551, allocations: 25.7 kB / 0.7259 GB, free: 7.199 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.5511, allocations: 153.1 kB / 0.7261 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.5512, allocations: 39.52 kB / 0.7261 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/0.5512, allocations: 33.7 kB / 0.7262 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.5514, allocations: 338.8 kB / 0.7265 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.5515, allocations: 43.97 kB / 0.7265 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001721/0.5517, allocations: 119.5 kB / 0.7266 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.5519, allocations: 162.9 kB / 0.7268 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.552, allocations: 0 / 0.7268 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003543/0.5523, allocations: 193.1 kB / 0.727 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.5523, allocations: 11.94 kB / 0.727 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5524, allocations: 0 / 0.727 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.5524, allocations: 4 kB / 0.727 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.5525, allocations: 27.98 kB / 0.727 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.5525, allocations: 4.156 kB / 0.727 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.5527, allocations: 35.73 kB / 0.7271 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-05/0.5527, allocations: 8 kB / 0.7271 GB, free: 5.973 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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.000111/0.5528, allocations: 142.5 kB / 0.7272 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.553, allocations: 31.66 kB / 0.7272 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.5533, allocations: 127 kB / 0.7274 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.5533, allocations: 8 kB / 0.7274 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.5533, allocations: 0 / 0.7274 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.5533, allocations: 0 / 0.7274 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007688/0.5541, allocations: 0.773 MB / 0.7281 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5541, allocations: 160 / 0.7281 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.5542, allocations: 31.92 kB / 0.7282 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.5542, allocations: 0 / 0.7282 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.5543, allocations: 8.062 kB / 0.7282 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.5543, allocations: 8 kB / 0.7282 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.5543, allocations: 0 / 0.7282 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004845/0.5548, allocations: 339.3 kB / 0.7285 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.5549, allocations: 108.8 kB / 0.7286 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.5549, allocations: 11.98 kB / 0.7286 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.555, allocations: 4 kB / 0.7286 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.5551, allocations: 19.92 kB / 0.7286 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.5551, allocations: 8 kB / 0.7286 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001858/0.5553, allocations: 209.9 kB / 0.7288 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5553, allocations: 0 / 0.7288 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003311/0.5556, allocations: 51.94 kB / 0.7289 GB, free: 3.969 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003254/0.556, allocations: 142.5 kB / 0.729 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003436/0.5563, allocations: 123.8 kB / 0.7291 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5563, allocations: 0 / 0.7291 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.5565, allocations: 60.59 kB / 0.7292 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006659/0.5572, allocations: 133.8 kB / 0.7293 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007714/0.5579, allocations: 487.9 kB / 0.7298 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.5582, allocations: 0.7558 MB / 0.7305 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001241/0.5584, allocations: 54.27 kB / 0.7306 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.5584, allocations: 23.42 kB / 0.7306 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.5584, allocations: 0 / 0.7306 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of Templates: time 0.007507/0.5659, allocations: 4.215 MB / 0.7347 GB, free: 14 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)