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.0009861/0.000986, allocations: 93.81 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 182.9 kB / 16.92 MB, free: 6.914 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.373/1.373, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7008/0.7008, allocations: 115.5 MB / 407.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003125/0.0003129, allocations: 12 kB / 495.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1577, allocations: 77.53 MB / 0.56 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4781/0.6359, allocations: 157 MB / 0.7133 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00489/0.6408, allocations: 4.487 MB / 0.7177 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.641, allocations: 7.938 kB / 0.7177 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003653/0.6414, allocations: 99.34 kB / 0.7178 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006952/0.6421, allocations: 314.7 kB / 0.7181 GB, free: 4.812 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005954/0.6427, allocations: 247.8 kB / 0.7183 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007106/0.6434, allocations: 0.7874 MB / 0.7191 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000275/0.6437, allocations: 169.5 kB / 0.7193 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008143/0.6446, allocations: 426.4 kB / 0.7197 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000249/0.6448, allocations: 191.2 kB / 0.7199 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/0.6449, allocations: 15.94 kB / 0.7199 GB, free: 3 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.645, allocations: 63.95 kB / 0.7199 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.152e-05/0.6451, allocations: 83.7 kB / 0.72 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.6453, allocations: 137.1 kB / 0.7201 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.6456, allocations: 283 kB / 0.7204 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.6456, allocations: 0 / 0.7204 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6456, allocations: 0 / 0.7204 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.6456, allocations: 0 / 0.7204 GB, free: 2.438 MB / 0.5294 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.0006689/0.6463, allocations: 0.4952 MB / 0.7209 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.6463, allocations: 8.031 kB / 0.7209 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.683e-05/0.6464, allocations: 35.56 kB / 0.7209 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/0.6467, allocations: 275.3 kB / 0.7212 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.6467, allocations: 12 kB / 0.7212 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.6468, allocations: 20 kB / 0.7212 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004136/0.6472, allocations: 269.8 kB / 0.7215 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.6472, allocations: 0 / 0.7215 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.6472, allocations: 11.94 kB / 0.7215 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.6472, allocations: 8 kB / 0.7215 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003409/0.6476, allocations: 159.8 kB / 0.7217 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.649, allocations: 1.378 MB / 0.723 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/0.6493, allocations: 183.7 kB / 0.7232 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.6495, allocations: 105 kB / 0.7233 GB, free: 15.21 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003591/0.6498, allocations: 129.1 kB / 0.7234 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.6499, allocations: 46.48 kB / 0.7234 GB, free: 15.01 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.6499, allocations: 0 / 0.7234 GB, free: 15.01 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0006347/0.6505, allocations: 225.8 kB / 0.7237 GB, free: 14.78 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.668e-05/0.6506, allocations: 183.9 kB / 0.7238 GB, free: 14.56 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.6509, allocations: 291 kB / 0.7241 GB, free: 14.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.651, allocations: 25.7 kB / 0.7241 GB, free: 14.24 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.6511, allocations: 155.8 kB / 0.7243 GB, free: 14.09 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.6511, allocations: 31.55 kB / 0.7243 GB, free: 14.05 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.6512, allocations: 21.72 kB / 0.7243 GB, free: 14.03 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.6513, allocations: 334.8 kB / 0.7247 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.6514, allocations: 51.95 kB / 0.7247 GB, free: 13.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.6516, allocations: 119.7 kB / 0.7248 GB, free: 13.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/0.6519, allocations: 170.7 kB / 0.725 GB, free: 13.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.652, allocations: 0 / 0.725 GB, free: 13.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003964/0.6524, allocations: 201.1 kB / 0.7252 GB, free: 13.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.6524, allocations: 7.938 kB / 0.7252 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.6524, allocations: 4 kB / 0.7252 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.6524, allocations: 8.156 kB / 0.7252 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.6526, allocations: 35.98 kB / 0.7252 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.6526, allocations: 11.92 kB / 0.7252 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.6528, allocations: 27.69 kB / 0.7253 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.6528, allocations: 15.98 kB / 0.7253 GB, free: 12.99 MB / 0.545 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.0001246/0.6529, allocations: 137.8 kB / 0.7254 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.6531, allocations: 31.66 kB / 0.7254 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/0.6534, allocations: 143.3 kB / 0.7256 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.6534, allocations: 7.984 kB / 0.7256 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.6534, allocations: 4 kB / 0.7256 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.6534, allocations: 0 / 0.7256 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007901/0.6542, allocations: 0.773 MB / 0.7263 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.6542, allocations: 0 / 0.7263 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.6544, allocations: 28.08 kB / 0.7264 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.6544, allocations: 7.984 kB / 0.7264 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.6544, allocations: 4 kB / 0.7264 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.6544, allocations: 4 kB / 0.7264 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6544, allocations: 3.938 kB / 0.7264 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000525/0.655, allocations: 355.4 kB / 0.7267 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.6551, allocations: 116.9 kB / 0.7268 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.6551, allocations: 0 / 0.7268 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.6553, allocations: 15.98 kB / 0.7269 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.334e-05/0.6553, allocations: 19.86 kB / 0.7269 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.6553, allocations: 4 kB / 0.7269 GB, free: 11.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001978/0.6555, allocations: 209.9 kB / 0.7271 GB, free: 11.01 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6556, allocations: 0 / 0.7271 GB, free: 11.01 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003428/0.6559, allocations: 59.91 kB / 0.7271 GB, free: 10.95 MB / 0.545 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.000319/0.6562, allocations: 143.5 kB / 0.7273 GB, free: 10.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003452/0.6566, allocations: 136 kB / 0.7274 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6566, allocations: 0 / 0.7274 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.6568, allocations: 55.91 kB / 0.7275 GB, free: 10.63 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008099/0.6576, allocations: 129.9 kB / 0.7276 GB, free: 10.51 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000801/0.6584, allocations: 0.5655 MB / 0.7281 GB, free: 9.898 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.6587, allocations: 0.756 MB / 0.7289 GB, free: 9.117 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001437/0.6589, allocations: 50.25 kB / 0.7289 GB, free: 9.066 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.454e-05/0.6589, allocations: 23.44 kB / 0.7289 GB, free: 9.043 MB / 0.545 GB Notification: Performance of SimCode: time 1.853e-06/0.6589, allocations: 0 / 0.7289 GB, free: 9.043 MB / 0.545 GB Notification: Performance of Templates: time 0.007685/0.6666, allocations: 3.985 MB / 0.7328 GB, free: 5.133 MB / 0.545 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)