Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.664/1.664, allocations: 287.5 MB / 302.6 MB, free: 8.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009127/0.0009127, allocations: 178.7 kB / 371.2 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008459/0.0008458, allocations: 88.86 kB / 0.7432 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004067/0.0004068, allocations: 12.66 kB / 0.8661 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2366, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.7078/0.9445, allocations: 152.2 MB / 1.127 GB, free: 1.078 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.006783/0.9513, allocations: 6.077 MB / 1.133 GB, free: 420 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005286/0.9519, allocations: 13.12 kB / 1.133 GB, free: 412 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005401/0.9524, allocations: 124.3 kB / 1.133 GB, free: 360 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.9542, allocations: 0.5948 MB / 1.134 GB, free: 96 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008458/0.9551, allocations: 259.4 kB / 1.134 GB, free: 56 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001049/0.9562, allocations: 0.8681 MB / 1.135 GB, free: 15.93 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004002/0.9566, allocations: 226.1 kB / 1.135 GB, free: 15.89 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.9576, allocations: 462.6 kB / 1.136 GB, free: 15.76 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003538/0.958, allocations: 257.6 kB / 1.136 GB, free: 15.7 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.214e-05/0.9581, allocations: 18 kB / 1.136 GB, free: 15.69 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005656/0.9586, allocations: 203.7 kB / 1.136 GB, free: 15.66 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.9588, allocations: 96.59 kB / 1.136 GB, free: 15.64 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.331e-05/0.9589, allocations: 84.58 kB / 1.136 GB, free: 15.6 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003701/0.9592, allocations: 313.7 kB / 1.137 GB, free: 15.56 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.9593, allocations: 0 / 1.137 GB, free: 15.56 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9593, allocations: 0 / 1.137 GB, free: 15.56 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.9593, allocations: 4 kB / 1.137 GB, free: 15.55 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.000811/0.9601, allocations: 0.5616 MB / 1.137 GB, free: 15.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.9601, allocations: 8.062 kB / 1.137 GB, free: 15.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002914/0.9604, allocations: 60.31 kB / 1.137 GB, free: 15.08 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.9608, allocations: 313 kB / 1.138 GB, free: 14.83 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.9608, allocations: 19.22 kB / 1.138 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.728e-05/0.9609, allocations: 27.75 kB / 1.138 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004914/0.9614, allocations: 318.7 kB / 1.138 GB, free: 14.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.9614, allocations: 3 kB / 1.138 GB, free: 14.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.9614, allocations: 17.12 kB / 1.138 GB, free: 14.72 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.9615, allocations: 6.906 kB / 1.138 GB, free: 14.72 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004158/0.9619, allocations: 205.6 kB / 1.138 GB, free: 14.71 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.9634, allocations: 1.546 MB / 1.14 GB, free: 13.54 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002296/0.9636, allocations: 121.6 kB / 1.14 GB, free: 13.51 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.9638, allocations: 93.38 kB / 1.14 GB, free: 13.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005977/0.9644, allocations: 320.3 kB / 1.14 GB, free: 13.22 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.9645, allocations: 34.56 kB / 1.14 GB, free: 13.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.9645, allocations: 1.859 kB / 1.14 GB, free: 13.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0007229/0.9652, allocations: 288.2 kB / 1.14 GB, free: 13.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.9653, allocations: 57.27 kB / 1.14 GB, free: 13.06 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003435/0.9656, allocations: 310.4 kB / 1.141 GB, free: 12.95 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.9656, allocations: 25.7 kB / 1.141 GB, free: 12.91 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.9658, allocations: 185.2 kB / 1.141 GB, free: 12.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.9658, allocations: 44.42 kB / 1.141 GB, free: 12.77 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-06/0.9658, allocations: 6.188 kB / 1.141 GB, free: 12.77 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.966, allocations: 340.3 kB / 1.141 GB, free: 12.46 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.9661, allocations: 60.28 kB / 1.141 GB, free: 12.46 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.9664, allocations: 120.8 kB / 1.142 GB, free: 12.41 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/0.9667, allocations: 191.9 kB / 1.142 GB, free: 12.35 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.9667, allocations: 3.938 kB / 1.142 GB, free: 12.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004032/0.9671, allocations: 226.9 kB / 1.142 GB, free: 12.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.9671, allocations: 8.062 kB / 1.142 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.9672, allocations: 3.156 kB / 1.142 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.9672, allocations: 0 / 1.142 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.9674, allocations: 37.81 kB / 1.142 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.9674, allocations: 3.938 kB / 1.142 GB, free: 12.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.9676, allocations: 49.5 kB / 1.142 GB, free: 12.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.9676, allocations: 7.531 kB / 1.142 GB, free: 12.26 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001427/0.9678, allocations: 154.8 kB / 1.142 GB, free: 12.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/0.9678, allocations: 28.56 kB / 1.142 GB, free: 12.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004433/0.9683, allocations: 219.2 kB / 1.142 GB, free: 12.08 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.9683, allocations: 7.484 kB / 1.142 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.9683, allocations: 2.531 kB / 1.142 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.9683, allocations: 0 / 1.142 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009922/0.9693, allocations: 0.6842 MB / 1.143 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.9693, allocations: 4.094 kB / 1.143 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.9695, allocations: 32.61 kB / 1.143 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.9695, allocations: 2.438 kB / 1.143 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.9695, allocations: 2.938 kB / 1.143 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.677e-06/0.9695, allocations: 10.34 kB / 1.143 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.9695, allocations: 2.25 kB / 1.143 GB, free: 11.69 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004533/0.97, allocations: 350.4 kB / 1.143 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.9701, allocations: 120.2 kB / 1.144 GB, free: 11.37 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.9701, allocations: 2.438 kB / 1.144 GB, free: 11.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.9703, allocations: 23.41 kB / 1.144 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.9704, allocations: 17.53 kB / 1.144 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.9704, allocations: 6.406 kB / 1.144 GB, free: 11.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002178/0.9706, allocations: 221 kB / 1.144 GB, free: 11.28 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9706, allocations: 1.25 kB / 1.144 GB, free: 11.28 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003896/0.971, allocations: 75.77 kB / 1.144 GB, free: 11.27 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003815/0.9714, allocations: 156.1 kB / 1.144 GB, free: 11.16 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004438/0.9718, allocations: 175.4 kB / 1.144 GB, free: 11.14 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9719, allocations: 0 / 1.144 GB, free: 11.14 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.9721, allocations: 84.8 kB / 1.144 GB, free: 11.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008908/0.973, allocations: 153 kB / 1.144 GB, free: 11.12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009795/0.974, allocations: 0.6259 MB / 1.145 GB, free: 10.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.9743, allocations: 0.7804 MB / 1.146 GB, free: 10.03 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002126/0.9746, allocations: 63.58 kB / 1.146 GB, free: 10.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.125e-05/0.9746, allocations: 22.38 kB / 1.146 GB, free: 10.01 MB / 0.698 GB Notification: Performance of SimCode: time 2.7e-07/0.9746, allocations: 0 / 1.146 GB, free: 10.01 MB / 0.698 GB Notification: Performance of Templates: time 0.009457/0.9841, allocations: 4.719 MB / 1.151 GB, free: 7.887 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)