Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0094/0.009401, allocations: 100.9 kB / 15.73 MB, free: 6.035 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.001788/0.001788, allocations: 199.2 kB / 16.68 MB, free: 5.953 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.627/1.627, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.6154/0.6154, allocations: 95.48 MB / 365.4 MB, free: 9.773 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.001497/0.001497, allocations: 74.08 kB / 0.5036 GB, free: 13.55 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1732, allocations: 69.08 MB / 0.5711 GB, free: 8.406 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6538/0.8271, allocations: 145.6 MB / 0.7133 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004648/0.8318, allocations: 2.829 MB / 0.7161 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006075/0.8324, allocations: 13 kB / 0.7161 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008641/0.8333, allocations: 203.7 kB / 0.7163 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0009641/0.8343, allocations: 381.7 kB / 0.7167 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.8357, allocations: 497.4 kB / 0.7171 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001148/0.8369, allocations: 0.9288 MB / 0.718 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005406/0.8375, allocations: 331.6 kB / 0.7184 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006723/0.8381, allocations: 407.6 kB / 0.7187 GB, free: 7.371 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004567/0.8386, allocations: 342.6 kB / 0.7191 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.066e-05/0.8387, allocations: 36 kB / 0.7191 GB, free: 7 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004105/0.8391, allocations: 167.7 kB / 0.7193 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.8392, allocations: 111.6 kB / 0.7194 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002455/0.8395, allocations: 226.9 kB / 0.7196 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0008017/0.8403, allocations: 0.5674 MB / 0.7201 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.8403, allocations: 4 kB / 0.7201 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.305e-06/0.8403, allocations: 0 / 0.7201 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.8404, allocations: 0 / 0.7201 GB, free: 5.938 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001324/0.8417, allocations: 0.7324 MB / 0.7209 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.8417, allocations: 15.98 kB / 0.7209 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002945/0.842, allocations: 56.41 kB / 0.7209 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006861/0.8427, allocations: 375.7 kB / 0.7213 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.158e-05/0.8428, allocations: 50.92 kB / 0.7213 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.315e-05/0.8429, allocations: 32.55 kB / 0.7214 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006895/0.8436, allocations: 363.3 kB / 0.7217 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.8436, allocations: 0 / 0.7217 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/0.8436, allocations: 12 kB / 0.7217 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.8437, allocations: 11.98 kB / 0.7217 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005141/0.8442, allocations: 254 kB / 0.722 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002136/0.8463, allocations: 1.428 MB / 0.7234 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.8466, allocations: 142.5 kB / 0.7235 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.8468, allocations: 68.83 kB / 0.7236 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003089/0.8471, allocations: 117 kB / 0.7237 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.8472, allocations: 38.5 kB / 0.7237 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.263e-06/0.8472, allocations: 4 kB / 0.7237 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.0006289/0.8478, allocations: 265.4 kB / 0.724 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.923e-05/0.8479, allocations: 102.8 kB / 0.7241 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004326/0.8483, allocations: 401.8 kB / 0.7245 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.8484, allocations: 29.7 kB / 0.7245 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.8485, allocations: 235.6 kB / 0.7247 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.8486, allocations: 59.28 kB / 0.7248 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.755e-05/0.8487, allocations: 57.61 kB / 0.7248 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.8489, allocations: 350.8 kB / 0.7252 GB, free: 488 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.849, allocations: 75.95 kB / 0.7252 GB, free: 412 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002663/0.8493, allocations: 197.7 kB / 0.7254 GB, free: 164 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004453/0.8498, allocations: 270.2 kB / 0.7257 GB, free: 15.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.8498, allocations: 0 / 0.7257 GB, free: 15.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006325/0.8504, allocations: 317.9 kB / 0.726 GB, free: 15.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.8504, allocations: 8 kB / 0.726 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.8505, allocations: 4 kB / 0.726 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.8505, allocations: 4 kB / 0.726 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.8507, allocations: 59.91 kB / 0.7261 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.8508, allocations: 11.92 kB / 0.7261 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.851, allocations: 39.53 kB / 0.7261 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.437e-05/0.851, allocations: 12.22 kB / 0.7261 GB, free: 15.4 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * 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.0002412/0.8513, allocations: 161.7 kB / 0.7263 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.8514, allocations: 43.47 kB / 0.7263 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000524/0.8519, allocations: 216.2 kB / 0.7265 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.852, allocations: 4 kB / 0.7265 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.852, allocations: 0 / 0.7265 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.852, allocations: 3.984 kB / 0.7265 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.853, allocations: 0.6412 MB / 0.7272 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.8531, allocations: 0 / 0.7272 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.8532, allocations: 23.98 kB / 0.7272 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-05/0.8533, allocations: 4 kB / 0.7272 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.8533, allocations: 4 kB / 0.7272 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.78e-06/0.8533, allocations: 4 kB / 0.7272 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.8533, allocations: 3.984 kB / 0.7272 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006689/0.854, allocations: 420.4 kB / 0.7276 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.8541, allocations: 112.6 kB / 0.7277 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/0.8542, allocations: 4 kB / 0.7277 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.8544, allocations: 20.05 kB / 0.7277 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.408e-05/0.8545, allocations: 8.859 kB / 0.7277 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.8546, allocations: 15.98 kB / 0.7277 GB, free: 13.62 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003716/0.8549, allocations: 279.1 kB / 0.728 GB, free: 13.35 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8549, allocations: 0 / 0.728 GB, free: 13.35 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005403/0.8555, allocations: 107.8 kB / 0.7281 GB, free: 13.25 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (senH_flow.h_out,senH.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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004929/0.856, allocations: 177.1 kB / 0.7283 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005074/0.8565, allocations: 200.5 kB / 0.7285 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.8565, allocations: 0 / 0.7285 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001742/0.8567, allocations: 83.95 kB / 0.7286 GB, free: 12.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009377/0.8577, allocations: 190.5 kB / 0.7287 GB, free: 12.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.859, allocations: 0.7215 MB / 0.7294 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.8594, allocations: 0.8073 MB / 0.7302 GB, free: 11.03 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002571/0.8597, allocations: 67.25 kB / 0.7303 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.686e-05/0.8598, allocations: 35.42 kB / 0.7303 GB, free: 10.93 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.8598, allocations: 0 / 0.7303 GB, free: 10.93 MB / 0.545 GB Notification: Performance of Templates: time 0.01437/0.8742, allocations: 6.653 MB / 0.7368 GB, free: 4.367 MB / 0.545 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)