Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.HeatMeter") translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_9_Buildings.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.006019/0.006019, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001336/0.001336, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.404/1.404, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.48/2.48, allocations: 390.2 MB / 0.6649 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 67.91 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7179/0.7194, allocations: 140.4 MB / 0.9496 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02066/0.7401, allocations: 23.15 MB / 0.9722 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007684/0.7478, allocations: 5.115 MB / 0.9772 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.7492, allocations: 23.28 kB / 0.9772 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.7502, allocations: 225.8 kB / 0.9774 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002245/0.7525, allocations: 0.7309 MB / 0.9781 GB, free: 1.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001947/0.7545, allocations: 0.6727 MB / 0.9788 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002687/0.7572, allocations: 2.174 MB / 0.9809 GB, free: 8 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007036/0.7579, allocations: 412.1 kB / 0.9813 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001057/0.759, allocations: 0.5303 MB / 0.9818 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000611/0.7596, allocations: 467.1 kB / 0.9823 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 7.292e-05/0.7597, allocations: 27.12 kB / 0.9823 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.7609, allocations: 467.2 kB / 0.9827 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.761, allocations: 116.6 kB / 0.9829 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003392/0.7614, allocations: 286.8 kB / 0.9831 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0008896/0.7623, allocations: 0.6834 MB / 0.9838 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.7623, allocations: 0 / 0.9838 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of FrontEnd: time 7.81e-07/0.7623, allocations: 1.156 kB / 0.9838 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.7623, allocations: 0 / 0.9838 GB, free: 14.25 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001596/0.7639, allocations: 0.8842 MB / 0.9847 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.764, allocations: 8.688 kB / 0.9847 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000235/0.7642, allocations: 67.81 kB / 0.9847 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009864/0.7652, allocations: 0.5545 MB / 0.9853 GB, free: 13 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.439e-05/0.7652, allocations: 32.56 kB / 0.9853 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.175e-05/0.7653, allocations: 42.28 kB / 0.9853 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007454/0.7661, allocations: 447.2 kB / 0.9858 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.7661, allocations: 1.562 kB / 0.9858 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.48e-05/0.7661, allocations: 16.28 kB / 0.9858 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.822e-05/0.7662, allocations: 13.67 kB / 0.9858 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005278/0.7667, allocations: 308.5 kB / 0.9861 GB, free: 12.52 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.002651/0.7694, allocations: 1.911 MB / 0.988 GB, free: 10.49 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004962/0.7699, allocations: 262.7 kB / 0.9882 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.7701, allocations: 120.9 kB / 0.9883 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008332/0.7709, allocations: 0.8545 MB / 0.9892 GB, free: 9.062 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.7709, allocations: 30.56 kB / 0.9892 GB, free: 9.023 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=26): time 2.665e-06/0.771, allocations: 0 / 0.9892 GB, free: 9.023 MB / 0.7481 GB Notification: Performance of matching and sorting (n=26): time 0.0007053/0.7717, allocations: 378.7 kB / 0.9895 GB, free: 8.648 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.7717, allocations: 55.34 kB / 0.9896 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00053/0.7723, allocations: 470.1 kB / 0.9901 GB, free: 8.113 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.7723, allocations: 33.7 kB / 0.9901 GB, free: 8.074 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.7725, allocations: 260 kB / 0.9903 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.686e-05/0.7726, allocations: 94.64 kB / 0.9904 GB, free: 7.723 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.7727, allocations: 74.02 kB / 0.9905 GB, free: 7.645 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.7728, allocations: 354.8 kB / 0.9908 GB, free: 7.289 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.773, allocations: 96.61 kB / 0.9909 GB, free: 7.195 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.7732, allocations: 176 kB / 0.9911 GB, free: 7 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003847/0.7736, allocations: 279.2 kB / 0.9914 GB, free: 6.703 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7736, allocations: 3.938 kB / 0.9914 GB, free: 6.699 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005629/0.7742, allocations: 372.7 kB / 0.9917 GB, free: 6.328 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.7742, allocations: 4 kB / 0.9917 GB, free: 6.324 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.7742, allocations: 0 / 0.9917 GB, free: 6.324 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.7743, allocations: 4 kB / 0.9917 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/0.7745, allocations: 72.06 kB / 0.9918 GB, free: 6.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.7746, allocations: 11.98 kB / 0.9918 GB, free: 6.238 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003441/0.7749, allocations: 47.53 kB / 0.9918 GB, free: 6.191 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.775, allocations: 15.98 kB / 0.9919 GB, free: 6.176 MB / 0.7481 GB 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.0002009/0.7752, allocations: 181.7 kB / 0.992 GB, free: 5.988 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.235e-05/0.7753, allocations: 47.44 kB / 0.9921 GB, free: 5.941 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007932/0.7761, allocations: 469 kB / 0.9925 GB, free: 5.477 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.7761, allocations: 15.92 kB / 0.9925 GB, free: 5.461 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.7761, allocations: 0 / 0.9925 GB, free: 5.461 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005592/0.7767, allocations: 0.5645 MB / 0.9931 GB, free: 4.828 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.7784, allocations: 1.162 MB / 0.9942 GB, free: 3.574 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.7784, allocations: 11.98 kB / 0.9942 GB, free: 3.562 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.7786, allocations: 47.92 kB / 0.9943 GB, free: 3.516 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.7786, allocations: 0 / 0.9943 GB, free: 3.516 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.7787, allocations: 15.98 kB / 0.9943 GB, free: 3.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.7787, allocations: 0 / 0.9943 GB, free: 3.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.7787, allocations: 4 kB / 0.9943 GB, free: 3.496 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000859/0.7796, allocations: 0.664 MB / 0.995 GB, free: 2.797 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000219/0.7798, allocations: 176.4 kB / 0.9951 GB, free: 2.605 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.009e-05/0.7799, allocations: 8 kB / 0.9951 GB, free: 2.598 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.7802, allocations: 23.92 kB / 0.9952 GB, free: 2.574 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.7802, allocations: 27.91 kB / 0.9952 GB, free: 2.547 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/0.7803, allocations: 19.92 kB / 0.9952 GB, free: 2.527 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003938/0.7807, allocations: 338.9 kB / 0.9955 GB, free: 2.199 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7807, allocations: 0 / 0.9955 GB, free: 2.199 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006997/0.7814, allocations: 199.8 kB / 0.9957 GB, free: 2.004 MB / 0.7481 GB 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.0006479/0.7821, allocations: 288.5 kB / 0.996 GB, free: 1.719 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00049/0.7826, allocations: 283.9 kB / 0.9963 GB, free: 1.441 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.7826, allocations: 0 / 0.9963 GB, free: 1.441 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.7828, allocations: 167.7 kB / 0.9964 GB, free: 1.277 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.7843, allocations: 317.6 kB / 0.9967 GB, free: 0.9688 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.7861, allocations: 1.274 MB / 0.998 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.7865, allocations: 0.8669 MB / 0.9988 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.7867, allocations: 51.42 kB / 0.9989 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of SimCode: time 7.02e-07/0.7867, allocations: 0 / 0.9989 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of Templates: time 0.0141/0.8008, allocations: 9.761 MB / 1.008 GB, free: 5.035 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1)