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.5627/0.5627, allocations: 95.62 MB / 110.6 MB, free: 9.371 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.001426/0.001426, allocations: 176.2 kB / 134.2 MB, free: 2.262 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.587/1.587, allocations: 170.7 MB / 328.4 MB, free: 12.29 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.001749/0.001749, allocations: 115 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004441/0.0004441, allocations: 12 kB / 462.7 MB, free: 35.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1309, allocations: 61.52 MB / 0.512 GB, free: 6.109 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.93/13.06, allocations: 5.259 GB / 5.77 GB, free: 164.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/13.06, allocations: 95.53 kB / 5.771 GB, free: 164.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.519/14.58, allocations: 401.4 MB / 6.163 GB, free: 88.41 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.325e-06/14.58, allocations: 2.906 kB / 6.163 GB, free: 88.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.893e-05/14.58, allocations: 22.69 kB / 6.163 GB, free: 88.41 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.002972/14.58, allocations: 1.173 MB / 6.164 GB, free: 87.81 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/14.58, allocations: 17.45 kB / 6.164 GB, free: 87.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003202/14.58, allocations: 82.38 kB / 6.164 GB, free: 87.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000911/14.58, allocations: 0.5119 MB / 6.164 GB, free: 87.54 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/14.58, allocations: 99.19 kB / 6.164 GB, free: 87.48 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.749e-05/14.58, allocations: 55.84 kB / 6.165 GB, free: 87.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/14.58, allocations: 0.612 MB / 6.165 GB, free: 87.43 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/14.58, allocations: 0 / 6.165 GB, free: 87.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.078e-05/14.58, allocations: 25.44 kB / 6.165 GB, free: 87.43 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/14.58, allocations: 12.75 kB / 6.165 GB, free: 87.43 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/14.58, allocations: 0.6063 MB / 6.166 GB, free: 87.42 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003296/14.59, allocations: 1.896 MB / 6.168 GB, free: 86.88 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005081/14.59, allocations: 340.4 kB / 6.168 GB, free: 86.85 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002664/14.59, allocations: 123.7 kB / 6.168 GB, free: 86.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/14.59, allocations: 34.5 kB / 6.168 GB, free: 86.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=38): time 2.866e-06/14.59, allocations: 5.156 kB / 6.168 GB, free: 86.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38): time 0.001151/14.59, allocations: 0.5974 MB / 6.169 GB, free: 86.64 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/14.59, allocations: 57.16 kB / 6.169 GB, free: 86.58 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005981/14.59, allocations: 0.5409 MB / 6.169 GB, free: 86.45 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.376e-05/14.59, allocations: 40.02 kB / 6.169 GB, free: 86.42 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/14.59, allocations: 309.5 kB / 6.17 GB, free: 86.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/14.59, allocations: 139.8 kB / 6.17 GB, free: 86.23 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/14.59, allocations: 9.719 kB / 6.17 GB, free: 86.23 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001275/14.59, allocations: 374.4 kB / 6.17 GB, free: 85.92 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/14.59, allocations: 195.7 kB / 6.17 GB, free: 85.92 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004011/14.59, allocations: 288.1 kB / 6.171 GB, free: 85.83 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004001/14.59, allocations: 289.3 kB / 6.171 GB, free: 85.77 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/14.59, allocations: 0 / 6.171 GB, free: 85.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001053/14.59, allocations: 0.6884 MB / 6.171 GB, free: 85.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.118e-05/14.59, allocations: 67.73 kB / 6.172 GB, free: 85.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/14.59, allocations: 3.875 kB / 6.172 GB, free: 85.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/14.59, allocations: 3.938 kB / 6.172 GB, free: 85.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004695/14.59, allocations: 115.9 kB / 6.172 GB, free: 85.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/14.59, allocations: 12.45 kB / 6.172 GB, free: 85.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005746/14.59, allocations: 96.64 kB / 6.172 GB, free: 85.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-05/14.59, allocations: 25.47 kB / 6.172 GB, free: 85.54 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 () * Number of clocked 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.0002788/14.59, allocations: 200.2 kB / 6.172 GB, free: 85.43 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/14.59, allocations: 71.22 kB / 6.172 GB, free: 85.39 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/14.6, allocations: 0.6253 MB / 6.173 GB, free: 85.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/14.6, allocations: 7.781 kB / 6.173 GB, free: 85.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/14.6, allocations: 3.688 kB / 6.173 GB, free: 85.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/14.6, allocations: 8.375 kB / 6.173 GB, free: 85.34 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/14.6, allocations: 1.279 MB / 6.174 GB, free: 84.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/14.6, allocations: 6.094 kB / 6.174 GB, free: 84.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/14.6, allocations: 78.38 kB / 6.174 GB, free: 84.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.935e-06/14.6, allocations: 3 kB / 6.174 GB, free: 84.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/14.6, allocations: 14.64 kB / 6.174 GB, free: 84.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/14.6, allocations: 5.781 kB / 6.174 GB, free: 84.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/14.6, allocations: 6.281 kB / 6.174 GB, free: 84.98 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/14.6, allocations: 1.009 MB / 6.175 GB, free: 84.64 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003404/14.6, allocations: 226.2 kB / 6.175 GB, free: 84.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.178e-05/14.6, allocations: 10.09 kB / 6.175 GB, free: 84.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005245/14.6, allocations: 44.19 kB / 6.175 GB, free: 84.51 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.256e-05/14.6, allocations: 32.78 kB / 6.175 GB, free: 84.51 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.979e-05/14.6, allocations: 27.41 kB / 6.175 GB, free: 84.51 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004674/14.6, allocations: 451.2 kB / 6.176 GB, free: 84.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.01e-07/14.6, allocations: 3.5 kB / 6.176 GB, free: 84.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001685/14.6, allocations: 456.7 kB / 6.176 GB, free: 84.37 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 () * Number of clocked 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.00223/14.6, allocations: 1.248 MB / 6.177 GB, free: 84.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001161/14.61, allocations: 0.6047 MB / 6.178 GB, free: 83.99 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/14.61, allocations: 0 / 6.178 GB, free: 83.99 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003965/14.61, allocations: 259.1 kB / 6.178 GB, free: 83.99 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/14.61, allocations: 339.1 kB / 6.179 GB, free: 83.98 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/14.61, allocations: 1.642 MB / 6.18 GB, free: 83.27 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/14.61, allocations: 0.9351 MB / 6.181 GB, free: 82.57 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005769/14.61, allocations: 142.5 kB / 6.181 GB, free: 82.56 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/14.61, allocations: 63.41 kB / 6.181 GB, free: 82.55 MB / 0.5261 GB Notification: Performance of SimCode: time 7.52e-07/14.61, allocations: 0 / 6.181 GB, free: 82.55 MB / 0.5261 GB Notification: Performance of Templates: time 0.04105/14.65, allocations: 29.31 MB / 6.21 GB, free: 81.27 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)