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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008106/0.0008159, allocations: 94.91 kB / 15.37 MB, free: 0.7266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009614/0.0009615, allocations: 177.2 kB / 16.27 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6264/0.6264, allocations: 95.62 MB / 366.4 MB, free: 10.23 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006022/0.0006021, allocations: 20 kB / 447.5 MB, free: 8.957 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4004, allocations: 70.33 MB / 0.5057 GB, free: 16.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate): time 0.5665/0.9671, allocations: 196.6 MB / 0.6977 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007305/0.9744, allocations: 6.582 MB / 0.7041 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000929/0.9754, allocations: 26.19 kB / 0.7041 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009804/0.9764, allocations: 266.6 kB / 0.7044 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003973/0.9804, allocations: 1.491 MB / 0.7058 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003347/0.9837, allocations: 1.254 MB / 0.7071 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002194/0.9859, allocations: 2.145 MB / 0.7092 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006469/0.9866, allocations: 478 kB / 0.7096 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.9876, allocations: 0.5823 MB / 0.7102 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.9887, allocations: 0.7466 MB / 0.7109 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.796e-05/0.9888, allocations: 38.41 kB / 0.711 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002762/0.9916, allocations: 1.645 MB / 0.7126 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002586/0.9919, allocations: 238.5 kB / 0.7128 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004006/0.9923, allocations: 413.9 kB / 0.7132 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002406/0.9947, allocations: 1.779 MB / 0.7149 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.9947, allocations: 0 / 0.7149 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.585e-06/0.9947, allocations: 0 / 0.7149 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.9947, allocations: 0 / 0.7149 GB, free: 3.309 MB / 0.4981 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.002004/0.9968, allocations: 1.105 MB / 0.716 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.9968, allocations: 11.55 kB / 0.716 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000314/0.9971, allocations: 94.45 kB / 0.7161 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006523/0.9978, allocations: 496.7 kB / 0.7166 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.9979, allocations: 104.4 kB / 0.7167 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.071e-05/0.998, allocations: 62.81 kB / 0.7167 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.9992, allocations: 0.6152 MB / 0.7173 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.9992, allocations: 3.938 kB / 0.7173 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.197e-05/0.9993, allocations: 25.81 kB / 0.7174 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.9993, allocations: 13.19 kB / 0.7174 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/1, allocations: 0.6221 MB / 0.718 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004317/1.005, allocations: 2.565 MB / 0.7205 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000592/1.005, allocations: 369.6 kB / 0.7208 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000315/1.006, allocations: 189.1 kB / 0.721 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003438/1.006, allocations: 143.1 kB / 0.7212 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.23e-05/1.006, allocations: 42.03 kB / 0.7212 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=38): time 2.614e-06/1.006, allocations: 4 kB / 0.7212 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=38): time 0.001297/1.007, allocations: 0.6511 MB / 0.7218 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/1.007, allocations: 56 kB / 0.7219 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007672/1.008, allocations: 0.6118 MB / 0.7225 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.461e-05/1.008, allocations: 34.83 kB / 0.7225 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000296/1.009, allocations: 318.8 kB / 0.7228 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/1.009, allocations: 138.4 kB / 0.723 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.432e-05/1.009, allocations: 43.52 kB / 0.723 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002345/1.009, allocations: 371.4 kB / 0.7234 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004438/1.01, allocations: 219.6 kB / 0.7236 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005136/1.01, allocations: 305.4 kB / 0.7239 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008317/1.011, allocations: 0.5683 MB / 0.7244 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/1.011, allocations: 0 / 0.7244 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001286/1.012, allocations: 0.7091 MB / 0.7251 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.681e-05/1.012, allocations: 68.14 kB / 0.7252 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/1.012, allocations: 1.781 kB / 0.7252 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/1.012, allocations: 3.344 kB / 0.7252 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004811/1.013, allocations: 112.9 kB / 0.7253 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/1.013, allocations: 9.875 kB / 0.7253 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005738/1.014, allocations: 93.89 kB / 0.7254 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-05/1.014, allocations: 27.67 kB / 0.7254 GB, free: 11.78 MB / 0.5137 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 (senHSen_flow.i_x,senHLat_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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003194/1.014, allocations: 193.3 kB / 0.7256 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/1.014, allocations: 69.16 kB / 0.7257 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/1.015, allocations: 0.6675 MB / 0.7263 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/1.015, allocations: 11.92 kB / 0.7263 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.015, allocations: 7.984 kB / 0.7263 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/1.015, allocations: 0 / 0.7263 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/1.017, allocations: 1.34 MB / 0.7276 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/1.017, allocations: 4 kB / 0.7276 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003633/1.018, allocations: 79.89 kB / 0.7277 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.615e-05/1.018, allocations: 4 kB / 0.7277 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/1.018, allocations: 12 kB / 0.7277 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/1.018, allocations: 5.75 kB / 0.7277 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.018, allocations: 192 / 0.7277 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/1.019, allocations: 1.009 MB / 0.7287 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/1.02, allocations: 224.1 kB / 0.7289 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.208e-05/1.02, allocations: 12 kB / 0.7289 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005311/1.02, allocations: 53.81 kB / 0.729 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.998e-05/1.02, allocations: 31.91 kB / 0.729 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.805e-05/1.02, allocations: 27.97 kB / 0.7291 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005353/1.021, allocations: 451 kB / 0.7295 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/1.021, allocations: 4 kB / 0.7295 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00125/1.022, allocations: 371.5 kB / 0.7298 GB, free: 7.156 MB / 0.5137 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 (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.001001/1.023, allocations: 434.2 kB / 0.7303 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001093/1.024, allocations: 0.6284 MB / 0.7309 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.024, allocations: 4.5 kB / 0.7309 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004586/1.025, allocations: 279.4 kB / 0.7311 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/1.027, allocations: 338.4 kB / 0.7315 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003776/1.031, allocations: 1.732 MB / 0.7332 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007856/1.031, allocations: 0.9222 MB / 0.7341 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009131/1.032, allocations: 161.4 kB / 0.7342 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002347/1.033, allocations: 59.42 kB / 0.7343 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of SimCode: time 5.91e-07/1.033, allocations: 0 / 0.7343 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of Templates: time 0.04195/1.075, allocations: 16.63 MB / 0.7505 GB, free: 2.094 MB / 0.5294 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.MoistAirEnthalpyFlowRate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: