Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001001/0.001001, allocations: 98.03 kB / 16.26 MB, free: 6.418 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.001123/0.001123, allocations: 189.2 kB / 17.2 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.432/1.432, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.763/1.763, allocations: 292.3 MB / 0.5495 GB, free: 17.42 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 63.91 kB / 0.6722 GB, free: 6.582 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2278, allocations: 114.6 MB / 0.784 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6191/0.847, allocations: 167.5 MB / 0.9476 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007546/0.8546, allocations: 6.531 MB / 0.954 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004802/0.8551, allocations: 15.88 kB / 0.954 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0005811/0.8557, allocations: 170.7 kB / 0.9542 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002233/0.858, allocations: 0.8479 MB / 0.955 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009789/0.859, allocations: 317.5 kB / 0.9553 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0008207/0.8598, allocations: 0.729 MB / 0.956 GB, free: 10.41 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004375/0.8603, allocations: 266.8 kB / 0.9563 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.8614, allocations: 0.5486 MB / 0.9568 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003733/0.8617, allocations: 271 kB / 0.9571 GB, free: 9.336 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.8618, allocations: 20 kB / 0.9571 GB, free: 9.316 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006362/0.8624, allocations: 335.2 kB / 0.9574 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.8626, allocations: 107.7 kB / 0.9575 GB, free: 8.883 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.8628, allocations: 167.1 kB / 0.9577 GB, free: 8.719 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.000611/0.8634, allocations: 470.6 kB / 0.9581 GB, free: 8.258 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.8634, allocations: 1.406 kB / 0.9581 GB, free: 8.258 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8634, allocations: 0 / 0.9581 GB, free: 8.258 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.8634, allocations: 0 / 0.9581 GB, free: 8.258 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009338/0.8643, allocations: 0.6144 MB / 0.9587 GB, free: 7.598 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.8644, allocations: 12.02 kB / 0.9587 GB, free: 7.586 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003676/0.8648, allocations: 67.48 kB / 0.9588 GB, free: 7.52 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.8652, allocations: 301.3 kB / 0.9591 GB, free: 7.188 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.8652, allocations: 24.56 kB / 0.9591 GB, free: 7.164 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-05/0.8653, allocations: 24 kB / 0.9591 GB, free: 7.141 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000527/0.8658, allocations: 319.6 kB / 0.9594 GB, free: 6.801 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.8658, allocations: 7.938 kB / 0.9595 GB, free: 6.793 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.8659, allocations: 12 kB / 0.9595 GB, free: 6.781 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.8659, allocations: 8 kB / 0.9595 GB, free: 6.773 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003999/0.8663, allocations: 197.6 kB / 0.9597 GB, free: 6.582 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.8679, allocations: 1.538 MB / 0.9612 GB, free: 4.906 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.8682, allocations: 131.9 kB / 0.9613 GB, free: 4.77 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002231/0.8684, allocations: 88.8 kB / 0.9614 GB, free: 4.68 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006611/0.8691, allocations: 299.2 kB / 0.9617 GB, free: 4.332 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.37e-05/0.8691, allocations: 42.55 kB / 0.9617 GB, free: 4.281 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=13): time 1.272e-06/0.8691, allocations: 0 / 0.9617 GB, free: 4.281 MB / 0.7481 GB Notification: Performance of matching and sorting (n=13): time 0.0007368/0.8699, allocations: 271.9 kB / 0.962 GB, free: 4.012 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.8699, allocations: 51.41 kB / 0.962 GB, free: 3.949 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/0.8702, allocations: 312.5 kB / 0.9623 GB, free: 3.629 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.8703, allocations: 33.7 kB / 0.9623 GB, free: 3.59 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.8704, allocations: 180.1 kB / 0.9625 GB, free: 3.41 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.8704, allocations: 39.36 kB / 0.9626 GB, free: 3.371 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.976e-05/0.8705, allocations: 41.7 kB / 0.9626 GB, free: 3.324 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.8707, allocations: 334.8 kB / 0.9629 GB, free: 2.988 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.8708, allocations: 63.86 kB / 0.963 GB, free: 2.926 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.871, allocations: 117.8 kB / 0.9631 GB, free: 2.793 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.8713, allocations: 174.7 kB / 0.9632 GB, free: 2.605 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8713, allocations: 0 / 0.9632 GB, free: 2.605 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003989/0.8717, allocations: 221.6 kB / 0.9635 GB, free: 2.383 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.8718, allocations: 4.781 kB / 0.9635 GB, free: 2.379 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.8718, allocations: 4 kB / 0.9635 GB, free: 2.375 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.8718, allocations: 4.156 kB / 0.9635 GB, free: 2.371 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.872, allocations: 39.91 kB / 0.9635 GB, free: 2.332 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.872, allocations: 1.5 kB / 0.9635 GB, free: 2.332 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.8721, allocations: 31.67 kB / 0.9635 GB, free: 2.301 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.8722, allocations: 14 kB / 0.9636 GB, free: 2.289 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.0001408/0.8723, allocations: 145.8 kB / 0.9637 GB, free: 2.137 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.759e-05/0.8724, allocations: 27.66 kB / 0.9637 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004487/0.8728, allocations: 216.2 kB / 0.9639 GB, free: 1.895 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.8729, allocations: 4 kB / 0.9639 GB, free: 1.891 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.8729, allocations: 0 / 0.9639 GB, free: 1.891 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.8729, allocations: 0 / 0.9639 GB, free: 1.891 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009858/0.8739, allocations: 0.6835 MB / 0.9646 GB, free: 1.129 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.8739, allocations: 4 kB / 0.9646 GB, free: 1.125 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.874, allocations: 30.73 kB / 0.9646 GB, free: 1.098 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.874, allocations: 4 kB / 0.9646 GB, free: 1.094 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.874, allocations: 4.219 kB / 0.9646 GB, free: 1.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.8741, allocations: 11.94 kB / 0.9647 GB, free: 1.078 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.8741, allocations: 4 kB / 0.9647 GB, free: 1.074 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004281/0.8745, allocations: 336 kB / 0.965 GB, free: 0.7109 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.8746, allocations: 116.8 kB / 0.9651 GB, free: 0.5781 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.8747, allocations: 7.984 kB / 0.9651 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.8748, allocations: 11.94 kB / 0.9651 GB, free: 0.5586 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.8749, allocations: 15.92 kB / 0.9651 GB, free: 0.543 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.8749, allocations: 12 kB / 0.9651 GB, free: 0.5312 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002046/0.8751, allocations: 219 kB / 0.9653 GB, free: 324 kB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8751, allocations: 0 / 0.9653 GB, free: 324 kB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000359/0.8755, allocations: 79.84 kB / 0.9654 GB, free: 244 kB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 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.0003581/0.8758, allocations: 148.2 kB / 0.9656 GB, free: 92 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004199/0.8763, allocations: 164.3 kB / 0.9657 GB, free: 15.93 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.8763, allocations: 1.5 kB / 0.9657 GB, free: 15.93 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.8765, allocations: 88.27 kB / 0.9658 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000796/0.8773, allocations: 155.3 kB / 0.9659 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008467/0.8781, allocations: 0.5756 MB / 0.9665 GB, free: 15.09 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.8785, allocations: 0.7794 MB / 0.9673 GB, free: 14.28 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.574e-05/0.8786, allocations: 31.38 kB / 0.9673 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of SimCode: time 6.81e-07/0.8786, allocations: 0 / 0.9673 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of Templates: time 0.00689/0.8855, allocations: 4.553 MB / 0.9717 GB, free: 9.832 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)