Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter") translateModel(IBPSA.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009117/0.0009115, allocations: 91.36 kB / 16.67 MB, free: 6.586 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.0008948/0.0008949, allocations: 177.4 kB / 17.58 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7117/0.7117, allocations: 115.5 MB / 408.2 MB, free: 7.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003681, allocations: 12 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4287, allocations: 77.51 MB / 0.5606 GB, free: 35.47 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.02128/0.4501, allocations: 22.47 MB / 0.5825 GB, free: 19.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007706/0.4578, allocations: 5.061 MB / 0.5875 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.4591, allocations: 25.22 kB / 0.5875 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009005/0.46, allocations: 226.8 kB / 0.5877 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002478/0.4625, allocations: 0.732 MB / 0.5884 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.4646, allocations: 0.6824 MB / 0.5891 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003128/0.4677, allocations: 2.178 MB / 0.5912 GB, free: 14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007888/0.4685, allocations: 400.2 kB / 0.5916 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.4697, allocations: 0.5161 MB / 0.5921 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007084/0.4705, allocations: 453.4 kB / 0.5925 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.37e-05/0.4705, allocations: 21.5 kB / 0.5925 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001371/0.4719, allocations: 460.8 kB / 0.593 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.4721, allocations: 110.2 kB / 0.5931 GB, free: 13.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003341/0.4724, allocations: 305.7 kB / 0.5934 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.4735, allocations: 0.6656 MB / 0.594 GB, free: 12.89 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4735, allocations: 7.938 kB / 0.594 GB, free: 12.89 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4735, allocations: 0 / 0.594 GB, free: 12.89 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.427e-06/0.4735, allocations: 0 / 0.594 GB, free: 12.89 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001311/0.4749, allocations: 0.7741 MB / 0.5948 GB, free: 12.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.4749, allocations: 16.97 kB / 0.5948 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002486/0.4752, allocations: 68.16 kB / 0.5949 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009895/0.4762, allocations: 0.5633 MB / 0.5954 GB, free: 11.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/0.4762, allocations: 32.28 kB / 0.5955 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.571e-05/0.4763, allocations: 39.42 kB / 0.5955 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007236/0.477, allocations: 439.9 kB / 0.5959 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.4771, allocations: 0 / 0.5959 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.041e-05/0.4771, allocations: 15.97 kB / 0.5959 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/0.4771, allocations: 14.73 kB / 0.5959 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004973/0.4776, allocations: 299.8 kB / 0.5962 GB, free: 11.39 MB / 446.1 MB 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.002461/0.4801, allocations: 1.935 MB / 0.5981 GB, free: 9.727 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004932/0.4806, allocations: 259.1 kB / 0.5984 GB, free: 9.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.4808, allocations: 126.7 kB / 0.5985 GB, free: 9.523 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006801/0.4815, allocations: 0.8605 MB / 0.5993 GB, free: 8.543 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.4815, allocations: 40.23 kB / 0.5994 GB, free: 8.496 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 2.284e-06/0.4815, allocations: 0 / 0.5994 GB, free: 8.496 MB / 446.1 MB Notification: Performance of matching and sorting (n=26): time 0.0007144/0.4823, allocations: 367.5 kB / 0.5997 GB, free: 8.312 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.4823, allocations: 58.12 kB / 0.5998 GB, free: 8.246 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005656/0.4829, allocations: 472.7 kB / 0.6002 GB, free: 7.957 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.537e-05/0.4829, allocations: 32.11 kB / 0.6003 GB, free: 7.922 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.4831, allocations: 255.1 kB / 0.6005 GB, free: 7.695 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.83e-05/0.4832, allocations: 94.06 kB / 0.6006 GB, free: 7.613 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.69e-05/0.4832, allocations: 40.11 kB / 0.6006 GB, free: 7.578 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.924e-05/0.4833, allocations: 357.1 kB / 0.601 GB, free: 7.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001656/0.4835, allocations: 99.75 kB / 0.6011 GB, free: 7.184 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.4837, allocations: 166 kB / 0.6012 GB, free: 7.062 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/0.4841, allocations: 271.7 kB / 0.6015 GB, free: 6.887 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.4841, allocations: 4.844 kB / 0.6015 GB, free: 6.883 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005527/0.4846, allocations: 374.7 kB / 0.6018 GB, free: 6.684 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.4847, allocations: 7.125 kB / 0.6018 GB, free: 6.684 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4847, allocations: 6.688 kB / 0.6019 GB, free: 6.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.4847, allocations: 3.406 kB / 0.6019 GB, free: 6.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.485, allocations: 80.23 kB / 0.6019 GB, free: 6.656 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.485, allocations: 3.906 kB / 0.6019 GB, free: 6.656 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.4854, allocations: 45.27 kB / 0.602 GB, free: 6.625 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.836e-05/0.4854, allocations: 17.03 kB / 0.602 GB, free: 6.621 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (39): * Single equations (assignments): 39 * 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.000193/0.4856, allocations: 173.6 kB / 0.6022 GB, free: 6.469 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.88e-05/0.4857, allocations: 54.91 kB / 0.6022 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007675/0.4865, allocations: 483.2 kB / 0.6027 GB, free: 6.164 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.4865, allocations: 11.97 kB / 0.6027 GB, free: 6.156 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4865, allocations: 0 / 0.6027 GB, free: 6.156 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004746/0.487, allocations: 0.5671 MB / 0.6032 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001743/0.4888, allocations: 1.157 MB / 0.6044 GB, free: 4.766 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.4888, allocations: 2.719 kB / 0.6044 GB, free: 4.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.489, allocations: 55.09 kB / 0.6044 GB, free: 4.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.489, allocations: 2.375 kB / 0.6044 GB, free: 4.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.489, allocations: 9.438 kB / 0.6044 GB, free: 4.746 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.4891, allocations: 3.094 kB / 0.6044 GB, free: 4.746 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4891, allocations: 1.5 kB / 0.6044 GB, free: 4.746 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008425/0.4899, allocations: 0.6737 MB / 0.6051 GB, free: 4.293 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002071/0.4901, allocations: 182.5 kB / 0.6053 GB, free: 4.121 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.619e-05/0.4902, allocations: 7.188 kB / 0.6053 GB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/0.4905, allocations: 21.52 kB / 0.6053 GB, free: 4.105 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.4906, allocations: 22.95 kB / 0.6053 GB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.949e-05/0.4906, allocations: 28.14 kB / 0.6053 GB, free: 4.078 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004027/0.491, allocations: 341.1 kB / 0.6057 GB, free: 3.875 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.491, allocations: 0 / 0.6057 GB, free: 3.875 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007801/0.4918, allocations: 196.9 kB / 0.6059 GB, free: 3.828 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0006521/0.4925, allocations: 286.6 kB / 0.6061 GB, free: 3.656 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005067/0.493, allocations: 294.3 kB / 0.6064 GB, free: 3.527 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.493, allocations: 1.281 kB / 0.6064 GB, free: 3.527 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.4932, allocations: 160.9 kB / 0.6066 GB, free: 3.457 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001652/0.4949, allocations: 323.4 kB / 0.6069 GB, free: 3.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.4964, allocations: 1.343 MB / 0.6082 GB, free: 1.766 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.4967, allocations: 0.863 MB / 0.609 GB, free: 0.875 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.4968, allocations: 59.41 kB / 0.6091 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4968, allocations: 4 kB / 0.6091 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of Templates: time 0.01464/0.5115, allocations: 9.691 MB / 0.6186 GB, free: 7.215 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1)