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.5591/0.5591, allocations: 94.78 MB / 102.2 MB, free: 10.15 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001509/0.001509, allocations: 178.8 kB / 125.5 MB, free: 11.89 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.768/1.768, allocations: 170.6 MB / 319.4 MB, free: 9.273 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.001623/0.001623, allocations: 114.2 kB / 381.3 MB, free: 18.31 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.322e-05/2.325e-05, allocations: 11.98 kB / 449.1 MB, free: 1.742 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1684, allocations: 61.52 MB / 0.4987 GB, free: 4.133 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.27/16.43, allocations: 5.258 GB / 5.756 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/16.44, allocations: 85.08 kB / 5.757 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.607/18.04, allocations: 395.9 MB / 6.143 GB, free: 85.36 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.743e-06/18.04, allocations: 0 / 6.143 GB, free: 85.36 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.996e-05/18.04, allocations: 22.69 kB / 6.143 GB, free: 85.36 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.003588/18.05, allocations: 1.081 MB / 6.144 GB, free: 84.74 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/18.05, allocations: 9.062 kB / 6.144 GB, free: 84.74 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006011/18.05, allocations: 87.41 kB / 6.144 GB, free: 84.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/18.05, allocations: 0.5151 MB / 6.145 GB, free: 84.45 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/18.05, allocations: 79.31 kB / 6.145 GB, free: 84.39 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/18.05, allocations: 38.5 kB / 6.145 GB, free: 84.39 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001063/18.05, allocations: 0.5347 MB / 6.145 GB, free: 84.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009966/18.05, allocations: 496.1 kB / 6.146 GB, free: 84.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/18.05, allocations: 0 / 6.146 GB, free: 84.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.23e-05/18.05, allocations: 5.906 kB / 6.146 GB, free: 84.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/18.05, allocations: 12.22 kB / 6.146 GB, free: 84.34 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003577/18.05, allocations: 1.728 MB / 6.148 GB, free: 83.82 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004713/18.05, allocations: 303 kB / 6.148 GB, free: 83.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002269/18.06, allocations: 140.6 kB / 6.148 GB, free: 83.79 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002733/18.06, allocations: 135.9 kB / 6.148 GB, free: 83.69 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/18.06, allocations: 41.19 kB / 6.148 GB, free: 83.65 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=38): time 2.184e-06/18.06, allocations: 3.938 kB / 6.148 GB, free: 83.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38): time 0.001495/18.06, allocations: 0.5339 MB / 6.149 GB, free: 83.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/18.06, allocations: 59.09 kB / 6.149 GB, free: 83.53 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000411/18.06, allocations: 352.2 kB / 6.149 GB, free: 83.41 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.759e-05/18.06, allocations: 28.7 kB / 6.149 GB, free: 83.38 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/18.06, allocations: 339.9 kB / 6.149 GB, free: 83.23 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/18.06, allocations: 129.3 kB / 6.15 GB, free: 83.15 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/18.06, allocations: 0 / 6.15 GB, free: 83.15 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001046/18.06, allocations: 357.8 kB / 6.15 GB, free: 82.84 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/18.06, allocations: 165.6 kB / 6.15 GB, free: 82.84 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/18.06, allocations: 256.1 kB / 6.15 GB, free: 82.75 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/18.06, allocations: 408.8 kB / 6.151 GB, free: 82.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/18.06, allocations: 0 / 6.151 GB, free: 82.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001787/18.06, allocations: 0.7354 MB / 6.151 GB, free: 82.67 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.714e-05/18.06, allocations: 69.08 kB / 6.152 GB, free: 82.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/18.06, allocations: 3.953 kB / 6.152 GB, free: 82.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/18.06, allocations: 6.312 kB / 6.152 GB, free: 82.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004731/18.06, allocations: 113.2 kB / 6.152 GB, free: 82.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/18.06, allocations: 3.781 kB / 6.152 GB, free: 82.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005642/18.06, allocations: 62.58 kB / 6.152 GB, free: 82.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.48e-05/18.06, allocations: 35.88 kB / 6.152 GB, free: 82.57 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.0001637/18.06, allocations: 115.8 kB / 6.152 GB, free: 82.46 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/18.06, allocations: 53.41 kB / 6.152 GB, free: 82.43 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/18.06, allocations: 0.7029 MB / 6.153 GB, free: 82.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/18.06, allocations: 11.58 kB / 6.153 GB, free: 82.36 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/18.06, allocations: 0 / 6.153 GB, free: 82.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/18.06, allocations: 3.75 kB / 6.153 GB, free: 82.36 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/18.07, allocations: 1.279 MB / 6.154 GB, free: 82.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/18.07, allocations: 7.75 kB / 6.154 GB, free: 82.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003883/18.07, allocations: 81.55 kB / 6.154 GB, free: 82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/18.07, allocations: 7.188 kB / 6.154 GB, free: 82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/18.07, allocations: 12.36 kB / 6.154 GB, free: 82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/18.07, allocations: 7.625 kB / 6.154 GB, free: 82 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/18.07, allocations: 0 / 6.154 GB, free: 82 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/18.07, allocations: 1.064 MB / 6.155 GB, free: 81.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003455/18.07, allocations: 205.2 kB / 6.155 GB, free: 81.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.299e-05/18.07, allocations: 3.938 kB / 6.155 GB, free: 81.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005373/18.07, allocations: 44.22 kB / 6.155 GB, free: 81.54 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-05/18.07, allocations: 28.12 kB / 6.155 GB, free: 81.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.824e-05/18.07, allocations: 26.27 kB / 6.155 GB, free: 81.54 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003227/18.07, allocations: 284.6 kB / 6.156 GB, free: 81.45 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.5e-07/18.07, allocations: 0 / 6.156 GB, free: 81.45 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00164/18.07, allocations: 417 kB / 6.156 GB, free: 81.38 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.003114/18.08, allocations: 1.47 MB / 6.157 GB, free: 81.11 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009416/18.08, allocations: 0.5252 MB / 6.158 GB, free: 80.97 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/18.08, allocations: 0 / 6.158 GB, free: 80.97 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003707/18.08, allocations: 233.7 kB / 6.158 GB, free: 80.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/18.08, allocations: 188.6 kB / 6.158 GB, free: 80.95 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/18.08, allocations: 1.027 MB / 6.159 GB, free: 80.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006446/18.08, allocations: 0.9393 MB / 6.16 GB, free: 79.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006514/18.08, allocations: 120 kB / 6.16 GB, free: 79.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/18.08, allocations: 50.39 kB / 6.16 GB, free: 79.89 MB / 0.5261 GB Notification: Performance of SimCode: time 6.82e-07/18.08, allocations: 3.938 kB / 6.16 GB, free: 79.89 MB / 0.5261 GB Notification: Performance of Templates: time 0.03099/18.11, allocations: 17.55 MB / 6.178 GB, free: 78.5 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)