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.01049/0.01049, allocations: 102.2 kB / 15.73 MB, free: 6.066 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.002134/0.002134, allocations: 192.7 kB / 16.68 MB, free: 5.973 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.617/1.617, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.6421/0.6421, allocations: 95.47 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.00141/0.00141, allocations: 74.09 kB / 0.5036 GB, free: 13.44 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1683, allocations: 69.09 MB / 0.5711 GB, free: 8.293 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6175/0.7858, allocations: 145.6 MB / 0.7133 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004536/0.7904, allocations: 2.837 MB / 0.7161 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004323/0.7909, allocations: 9.75 kB / 0.7161 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007696/0.7917, allocations: 199.4 kB / 0.7163 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0008002/0.7925, allocations: 375.5 kB / 0.7167 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.7938, allocations: 489.7 kB / 0.7171 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0009702/0.7948, allocations: 0.9267 MB / 0.718 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005065/0.7953, allocations: 328.2 kB / 0.7183 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006125/0.7959, allocations: 398.5 kB / 0.7187 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004714/0.7964, allocations: 346.6 kB / 0.7191 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.916e-05/0.7965, allocations: 36 kB / 0.7191 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004335/0.7969, allocations: 175.7 kB / 0.7193 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.797, allocations: 103.7 kB / 0.7194 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.7973, allocations: 230.9 kB / 0.7196 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0008266/0.7981, allocations: 0.5791 MB / 0.7201 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7982, allocations: 0 / 0.7201 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7982, allocations: 0 / 0.7201 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.7982, allocations: 0 / 0.7201 GB, free: 5.859 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.001156/0.7993, allocations: 0.7475 MB / 0.7209 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.7994, allocations: 11.98 kB / 0.7209 GB, free: 5.051 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002434/0.7996, allocations: 56.64 kB / 0.7209 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006186/0.8003, allocations: 384 kB / 0.7213 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.951e-05/0.8004, allocations: 50.92 kB / 0.7213 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.609e-05/0.8004, allocations: 24.56 kB / 0.7214 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006528/0.8011, allocations: 371.3 kB / 0.7217 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.8011, allocations: 4 kB / 0.7217 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.962e-05/0.8011, allocations: 12 kB / 0.7217 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.8012, allocations: 4 kB / 0.7217 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000487/0.8016, allocations: 250 kB / 0.722 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.8037, allocations: 1.431 MB / 0.7234 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.804, allocations: 145.5 kB / 0.7235 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.8042, allocations: 72.81 kB / 0.7236 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003226/0.8045, allocations: 121 kB / 0.7237 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.8046, allocations: 34.5 kB / 0.7237 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.8046, allocations: 0 / 0.7237 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.000618/0.8052, allocations: 269.3 kB / 0.724 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.8053, allocations: 107.1 kB / 0.7241 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004088/0.8057, allocations: 393.9 kB / 0.7245 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.8057, allocations: 33.7 kB / 0.7245 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.8059, allocations: 235.9 kB / 0.7247 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.8059, allocations: 51.62 kB / 0.7248 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.905e-05/0.806, allocations: 65.64 kB / 0.7248 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.8062, allocations: 350.8 kB / 0.7252 GB, free: 392 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.8064, allocations: 75.95 kB / 0.7252 GB, free: 316 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.8067, allocations: 201.6 kB / 0.7254 GB, free: 64 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004446/0.8071, allocations: 267.8 kB / 0.7257 GB, free: 15.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8071, allocations: 0 / 0.7257 GB, free: 15.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005514/0.8077, allocations: 320.6 kB / 0.726 GB, free: 15.44 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.8077, allocations: 12.03 kB / 0.726 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.8077, allocations: 4 kB / 0.726 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.8078, allocations: 7.938 kB / 0.726 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.808, allocations: 64.72 kB / 0.7261 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.808, allocations: 4 kB / 0.7261 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/0.8083, allocations: 47.66 kB / 0.7261 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.8083, allocations: 8 kB / 0.7261 GB, free: 15.3 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.0001714/0.8085, allocations: 157.7 kB / 0.7263 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.493e-05/0.8086, allocations: 51.7 kB / 0.7263 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004659/0.809, allocations: 214.7 kB / 0.7265 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.809, allocations: 4 kB / 0.7266 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.809, allocations: 0 / 0.7266 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.8091, allocations: 0 / 0.7266 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008445/0.8099, allocations: 0.6383 MB / 0.7272 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.8099, allocations: 0 / 0.7272 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001593/0.8101, allocations: 34.66 kB / 0.7272 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.8101, allocations: 0 / 0.7272 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.8101, allocations: 8 kB / 0.7272 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.8101, allocations: 0 / 0.7272 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8101, allocations: 3.938 kB / 0.7272 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006434/0.8108, allocations: 416.8 kB / 0.7276 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.003e-05/0.8109, allocations: 112.9 kB / 0.7277 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.343e-05/0.811, allocations: 4 kB / 0.7277 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.8112, allocations: 15.98 kB / 0.7277 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.8113, allocations: 12.05 kB / 0.7278 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.8113, allocations: 15.98 kB / 0.7278 GB, free: 13.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002812/0.8116, allocations: 275.2 kB / 0.728 GB, free: 13.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8116, allocations: 0 / 0.728 GB, free: 13.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004267/0.812, allocations: 115.7 kB / 0.7281 GB, free: 13.14 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.000435/0.8125, allocations: 167.7 kB / 0.7283 GB, free: 12.97 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004784/0.813, allocations: 203.5 kB / 0.7285 GB, free: 12.78 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.813, allocations: 0 / 0.7285 GB, free: 12.78 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.8132, allocations: 84.77 kB / 0.7286 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008887/0.8141, allocations: 191.7 kB / 0.7288 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.8153, allocations: 0.7399 MB / 0.7295 GB, free: 11.74 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.8156, allocations: 0.7995 MB / 0.7303 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002247/0.8159, allocations: 79.2 kB / 0.7303 GB, free: 10.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.783e-05/0.8159, allocations: 35.44 kB / 0.7304 GB, free: 10.8 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.8159, allocations: 0 / 0.7304 GB, free: 10.8 MB / 0.545 GB Notification: Performance of Templates: time 0.01247/0.8284, allocations: 6.665 MB / 0.7369 GB, free: 4.234 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)