Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5718/0.5718, allocations: 94.69 MB / 107.3 MB, free: 5.219 MB / 90.74 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001267/0.001267, allocations: 183 kB / 130.7 MB, free: 7.578 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.686/1.686, allocations: 170.5 MB / 324.5 MB, free: 4.027 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001755/0.001755, allocations: 118.3 kB / 386.6 MB, free: 16.32 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.273e-05/6.276e-05, allocations: 7.938 kB / 456 MB, free: 11.78 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.51/0.5101, allocations: 61.51 MB / 0.5054 GB, free: 49.73 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.02/16.53, allocations: 5.258 GB / 5.764 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/16.53, allocations: 86.3 kB / 5.764 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.65/18.18, allocations: 400.8 MB / 6.155 GB, free: 84.24 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.293e-06/18.18, allocations: 2.812 kB / 6.155 GB, free: 84.24 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.265e-05/18.18, allocations: 16.44 kB / 6.155 GB, free: 84.24 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002289/18.18, allocations: 1.096 MB / 6.156 GB, free: 83.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/18.18, allocations: 7.562 kB / 6.156 GB, free: 83.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002895/18.18, allocations: 85.19 kB / 6.156 GB, free: 83.71 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008593/18.18, allocations: 0.5102 MB / 6.157 GB, free: 83.49 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/18.18, allocations: 106.4 kB / 6.157 GB, free: 83.42 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.862e-05/18.18, allocations: 56.88 kB / 6.157 GB, free: 83.42 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009522/18.18, allocations: 0.5601 MB / 6.158 GB, free: 83.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/18.18, allocations: 2.953 kB / 6.158 GB, free: 83.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.661e-05/18.18, allocations: 26.31 kB / 6.158 GB, free: 83.38 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/18.18, allocations: 10.84 kB / 6.158 GB, free: 83.38 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008198/18.18, allocations: 0.5623 MB / 6.158 GB, free: 83.37 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003101/18.19, allocations: 1.893 MB / 6.16 GB, free: 82.83 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/18.19, allocations: 324.2 kB / 6.16 GB, free: 82.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/18.19, allocations: 155.6 kB / 6.161 GB, free: 82.79 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002402/18.19, allocations: 120 kB / 6.161 GB, free: 82.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/18.19, allocations: 45.19 kB / 6.161 GB, free: 82.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=38): time 3.967e-06/18.19, allocations: 0 / 6.161 GB, free: 82.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38): time 0.0008579/18.19, allocations: 418.1 kB / 6.161 GB, free: 82.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/18.19, allocations: 57.25 kB / 6.161 GB, free: 82.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007033/18.19, allocations: 0.5321 MB / 6.162 GB, free: 82.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.085e-05/18.19, allocations: 36.08 kB / 6.162 GB, free: 82.37 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002689/18.19, allocations: 320.8 kB / 6.162 GB, free: 82.24 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/18.19, allocations: 143.8 kB / 6.162 GB, free: 82.17 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/18.19, allocations: 7.812 kB / 6.162 GB, free: 82.17 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001261/18.19, allocations: 372.2 kB / 6.163 GB, free: 81.86 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002879/18.19, allocations: 175 kB / 6.163 GB, free: 81.86 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003299/18.19, allocations: 270.2 kB / 6.163 GB, free: 81.77 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003627/18.19, allocations: 267.9 kB / 6.163 GB, free: 81.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/18.19, allocations: 3.344 kB / 6.163 GB, free: 81.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009613/18.19, allocations: 0.6478 MB / 6.164 GB, free: 81.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.484e-05/18.19, allocations: 64.2 kB / 6.164 GB, free: 81.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/18.19, allocations: 3.219 kB / 6.164 GB, free: 81.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/18.19, allocations: 5.875 kB / 6.164 GB, free: 81.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004499/18.19, allocations: 108.9 kB / 6.164 GB, free: 81.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/18.19, allocations: 5.5 kB / 6.164 GB, free: 81.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005487/18.19, allocations: 91.62 kB / 6.164 GB, free: 81.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.914e-05/18.19, allocations: 26.23 kB / 6.164 GB, free: 81.48 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (senHLat_flow.i_x,senHSen_flow.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 2 * 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.0001266/18.19, allocations: 138.3 kB / 6.164 GB, free: 81.37 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/18.19, allocations: 70.52 kB / 6.164 GB, free: 81.34 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009995/18.2, allocations: 0.6053 MB / 6.165 GB, free: 81.28 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/18.2, allocations: 3.125 kB / 6.165 GB, free: 81.28 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/18.2, allocations: 3.031 kB / 6.165 GB, free: 81.28 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/18.2, allocations: 7.234 kB / 6.165 GB, free: 81.28 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/18.2, allocations: 1.243 MB / 6.166 GB, free: 80.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/18.2, allocations: 6.031 kB / 6.166 GB, free: 80.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/18.2, allocations: 80.86 kB / 6.166 GB, free: 80.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/18.2, allocations: 5.125 kB / 6.166 GB, free: 80.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/18.2, allocations: 9.281 kB / 6.166 GB, free: 80.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/18.2, allocations: 6.828 kB / 6.166 GB, free: 80.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/18.2, allocations: 3.906 kB / 6.166 GB, free: 80.91 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/18.2, allocations: 0.9524 MB / 6.167 GB, free: 80.59 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/18.2, allocations: 220.5 kB / 6.167 GB, free: 80.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.181e-05/18.2, allocations: 7.438 kB / 6.167 GB, free: 80.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005268/18.2, allocations: 49 kB / 6.167 GB, free: 80.46 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.986e-05/18.2, allocations: 36.06 kB / 6.168 GB, free: 80.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.859e-05/18.2, allocations: 29.39 kB / 6.168 GB, free: 80.45 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000617/18.2, allocations: 440 kB / 6.168 GB, free: 80.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/18.2, allocations: 0 / 6.168 GB, free: 80.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001875/18.2, allocations: 461 kB / 6.168 GB, free: 80.31 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (senH_flow.h_out,senH.h_out,senHLat_flow.h_out,senHSen_flow.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003019/18.21, allocations: 1.259 MB / 6.17 GB, free: 80.09 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001129/18.21, allocations: 0.5649 MB / 6.17 GB, free: 79.96 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/18.21, allocations: 1.656 kB / 6.17 GB, free: 79.96 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004125/18.21, allocations: 233.3 kB / 6.17 GB, free: 79.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/18.21, allocations: 338.2 kB / 6.171 GB, free: 79.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/18.21, allocations: 1.078 MB / 6.172 GB, free: 79.64 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006094/18.21, allocations: 0.9351 MB / 6.173 GB, free: 78.93 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007183/18.21, allocations: 146.1 kB / 6.173 GB, free: 78.93 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/18.21, allocations: 63.7 kB / 6.173 GB, free: 78.92 MB / 0.5261 GB Notification: Performance of SimCode: time 2.515e-06/18.21, allocations: 0 / 6.173 GB, free: 78.92 MB / 0.5261 GB Notification: Performance of Templates: time 0.06037/18.27, allocations: 32.66 MB / 6.205 GB, free: 77.89 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.pipe 2>&1)