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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4741/0.4741, allocations: 87.51 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 349.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 100.2 kB / 420 MB, free: 8.469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 55.86 kB / 0.4891 GB, free: 7.676 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.363, allocations: 70.06 MB / 0.5575 GB, free: 44.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5595/0.9226, allocations: 159.1 MB / 0.7129 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.005533/0.9281, allocations: 4.548 MB / 0.7173 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004374/0.9287, allocations: 11.38 kB / 0.7173 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0004779/0.9291, allocations: 106 kB / 0.7174 GB, free: 1.668 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0008925/0.93, allocations: 307.8 kB / 0.7177 GB, free: 1.652 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008129/0.9309, allocations: 246.5 kB / 0.7179 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0009504/0.9318, allocations: 0.7946 MB / 0.7187 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003055/0.9321, allocations: 179.8 kB / 0.7189 GB, free: 1.625 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008893/0.933, allocations: 425.1 kB / 0.7193 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003401/0.9334, allocations: 203.3 kB / 0.7195 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.724e-05/0.9334, allocations: 11.19 kB / 0.7195 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.9336, allocations: 69.67 kB / 0.7196 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.9338, allocations: 82.58 kB / 0.7196 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.9339, allocations: 113.9 kB / 0.7197 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.9343, allocations: 286.9 kB / 0.72 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.9343, allocations: 0 / 0.72 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.332e-06/0.9343, allocations: 1.203 kB / 0.72 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.932e-06/0.9343, allocations: 0 / 0.72 GB, free: 1.59 MB / 0.5105 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.000968/0.9353, allocations: 0.5355 MB / 0.7205 GB, free: 17.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.9353, allocations: 10.69 kB / 0.7206 GB, free: 17.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.528e-05/0.9354, allocations: 26.91 kB / 0.7206 GB, free: 17.14 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.9358, allocations: 285.5 kB / 0.7209 GB, free: 16.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.9358, allocations: 11.41 kB / 0.7209 GB, free: 16.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.9359, allocations: 16.81 kB / 0.7209 GB, free: 16.91 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003881/0.9363, allocations: 265.4 kB / 0.7211 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.9363, allocations: 0 / 0.7211 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.9363, allocations: 9.984 kB / 0.7211 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.9363, allocations: 6.406 kB / 0.7211 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/0.9366, allocations: 147 kB / 0.7213 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001304/0.9379, allocations: 1.376 MB / 0.7226 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.9382, allocations: 177 kB / 0.7228 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.9384, allocations: 96.61 kB / 0.7229 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003431/0.9387, allocations: 123.9 kB / 0.723 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.9388, allocations: 40.88 kB / 0.7231 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.9388, allocations: 0 / 0.7231 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10): time 0.0005712/0.9393, allocations: 206.7 kB / 0.7232 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.9395, allocations: 188.5 kB / 0.7234 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.9397, allocations: 288.3 kB / 0.7237 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.9398, allocations: 28.48 kB / 0.7237 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.9399, allocations: 150.5 kB / 0.7239 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.9399, allocations: 31.23 kB / 0.7239 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-05/0.94, allocations: 39.41 kB / 0.7239 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.9401, allocations: 341.9 kB / 0.7243 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.9403, allocations: 42.3 kB / 0.7243 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.9405, allocations: 121.1 kB / 0.7244 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.9407, allocations: 159.2 kB / 0.7246 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.9407, allocations: 0 / 0.7246 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003349/0.9411, allocations: 193.1 kB / 0.7248 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.9411, allocations: 8.844 kB / 0.7248 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.9411, allocations: 0 / 0.7248 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.9411, allocations: 2.312 kB / 0.7248 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.9413, allocations: 37.33 kB / 0.7248 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.9413, allocations: 2.094 kB / 0.7248 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.9414, allocations: 31.98 kB / 0.7248 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.9415, allocations: 12.72 kB / 0.7248 GB, free: 14.31 MB / 0.5261 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.0001217/0.9416, allocations: 148 kB / 0.725 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/0.9417, allocations: 24.59 kB / 0.725 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003096/0.942, allocations: 129 kB / 0.7251 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.9421, allocations: 3.641 kB / 0.7251 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.9421, allocations: 2.406 kB / 0.7251 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.9421, allocations: 4.031 kB / 0.7251 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007883/0.9429, allocations: 0.7792 MB / 0.7259 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.9429, allocations: 3.312 kB / 0.7259 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.943, allocations: 19.59 kB / 0.7259 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.943, allocations: 6.031 kB / 0.7259 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.943, allocations: 5.75 kB / 0.7259 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.943, allocations: 9.141 kB / 0.7259 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.9431, allocations: 4 kB / 0.726 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003869/0.9469, allocations: 1.881 MB / 0.7278 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.866e-05/0.947, allocations: 105.6 kB / 0.7279 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.9471, allocations: 6.5 kB / 0.7279 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.9472, allocations: 7.172 kB / 0.7279 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.9473, allocations: 16.45 kB / 0.7279 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.9473, allocations: 8.156 kB / 0.7279 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001778/0.9474, allocations: 207.2 kB / 0.7281 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9475, allocations: 0 / 0.7281 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004443/0.9479, allocations: 78.31 kB / 0.7282 GB, free: 12.2 MB / 0.5261 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.0003569/0.9483, allocations: 147.9 kB / 0.7283 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000319/0.9486, allocations: 116.7 kB / 0.7285 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.9486, allocations: 0 / 0.7285 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.9488, allocations: 64.11 kB / 0.7285 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007377/0.9495, allocations: 123.7 kB / 0.7286 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009208/0.9504, allocations: 0.6681 MB / 0.7293 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.9508, allocations: 0.7635 MB / 0.73 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001474/0.951, allocations: 54.89 kB / 0.7301 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.951, allocations: 24.78 kB / 0.7301 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.713e-06/0.951, allocations: 0 / 0.7301 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.0087/0.9597, allocations: 4.13 MB / 0.7341 GB, free: 10.66 MB / 0.5261 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)