Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings.Fluid.Sensors.Examples.HeatMeter") translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_10_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.0008429/0.0008429, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001066/0.001066, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 437.7 MB / 0.7117 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004337/0.0004341, allocations: 8 kB / 0.8722 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5944/0.5949, allocations: 153.8 MB / 1.022 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02037/0.6153, allocations: 21.34 MB / 1.043 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.006389/0.6217, allocations: 4.777 MB / 1.048 GB, free: 5.863 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006244/0.6224, allocations: 19.88 kB / 1.048 GB, free: 5.844 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0006671/0.623, allocations: 194.7 kB / 1.048 GB, free: 5.652 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.6247, allocations: 0.6567 MB / 1.049 GB, free: 4.996 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001594/0.6263, allocations: 0.5842 MB / 1.049 GB, free: 4.414 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001916/0.6282, allocations: 1.847 MB / 1.051 GB, free: 2.559 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005454/0.6287, allocations: 373.4 kB / 1.051 GB, free: 2.188 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007741/0.6295, allocations: 0.5095 MB / 1.052 GB, free: 1.676 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004887/0.63, allocations: 414.1 kB / 1.052 GB, free: 1.27 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.141e-05/0.6301, allocations: 20 kB / 1.052 GB, free: 1.25 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007447/0.6308, allocations: 307.3 kB / 1.053 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.631, allocations: 107.6 kB / 1.053 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.6311, allocations: 133.4 kB / 1.053 GB, free: 0.707 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006544/0.6318, allocations: 0.6274 MB / 1.054 GB, free: 80 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6318, allocations: 0 / 1.054 GB, free: 80 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6318, allocations: 0 / 1.054 GB, free: 80 kB / 0.795 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.6318, allocations: 0 / 1.054 GB, free: 80 kB / 0.795 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.001161/0.633, allocations: 0.7885 MB / 1.054 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.633, allocations: 12.02 kB / 1.054 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.6332, allocations: 67.28 kB / 1.054 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009201/0.6341, allocations: 0.5483 MB / 1.055 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.6342, allocations: 36.95 kB / 1.055 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.6342, allocations: 36 kB / 1.055 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006668/0.6349, allocations: 428.7 kB / 1.055 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.6349, allocations: 0 / 1.055 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.923e-05/0.635, allocations: 19.94 kB / 1.055 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.407e-05/0.635, allocations: 15.94 kB / 1.055 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004771/0.6355, allocations: 303.8 kB / 1.056 GB, free: 13.73 MB / 0.8106 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.002483/0.638, allocations: 1.927 MB / 1.058 GB, free: 11.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/0.6385, allocations: 258.8 kB / 1.058 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.6387, allocations: 124.8 kB / 1.058 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007465/0.6394, allocations: 0.8663 MB / 1.059 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.6394, allocations: 30.56 kB / 1.059 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=26): time 1.723e-06/0.6395, allocations: 0 / 1.059 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=26): time 0.0006398/0.6401, allocations: 367.1 kB / 1.059 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.6401, allocations: 63.34 kB / 1.059 GB, free: 9.762 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005161/0.6407, allocations: 466.1 kB / 1.06 GB, free: 9.297 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.6407, allocations: 29.7 kB / 1.06 GB, free: 9.262 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.6409, allocations: 260 kB / 1.06 GB, free: 9.004 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.218e-05/0.641, allocations: 90.66 kB / 1.06 GB, free: 8.914 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.485e-05/0.641, allocations: 4 kB / 1.06 GB, free: 8.91 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.6411, allocations: 358.8 kB / 1.06 GB, free: 8.551 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.6413, allocations: 92.61 kB / 1.06 GB, free: 8.461 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.6415, allocations: 168.1 kB / 1.061 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.6417, allocations: 124 kB / 1.061 GB, free: 8.152 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.6417, allocations: 11.89 kB / 1.061 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005253/0.6423, allocations: 356.9 kB / 1.061 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.6423, allocations: 4 kB / 1.061 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.6423, allocations: 7.938 kB / 1.061 GB, free: 7.773 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.6423, allocations: 0 / 1.061 GB, free: 7.773 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.6426, allocations: 79.89 kB / 1.061 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.6426, allocations: 4.156 kB / 1.061 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002683/0.6429, allocations: 51.52 kB / 1.061 GB, free: 7.641 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.6429, allocations: 16 kB / 1.061 GB, free: 7.625 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001824/0.6431, allocations: 177.8 kB / 1.061 GB, free: 7.441 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.951e-05/0.6432, allocations: 51.39 kB / 1.061 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000779/0.644, allocations: 480.8 kB / 1.062 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.644, allocations: 4 kB / 1.062 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.644, allocations: 4 kB / 1.062 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005209/0.6445, allocations: 0.562 MB / 1.063 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.6462, allocations: 1.167 MB / 1.064 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.6462, allocations: 0 / 1.064 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.6465, allocations: 47.97 kB / 1.064 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.6465, allocations: 4 kB / 1.064 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.6465, allocations: 8 kB / 1.064 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.6465, allocations: 12.12 kB / 1.064 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6465, allocations: 3.984 kB / 1.064 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008109/0.6473, allocations: 0.6791 MB / 1.064 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.6475, allocations: 184.3 kB / 1.065 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.313e-05/0.6476, allocations: 4 kB / 1.065 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002773/0.6479, allocations: 23.98 kB / 1.065 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.648, allocations: 27.92 kB / 1.065 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-05/0.648, allocations: 11.98 kB / 1.065 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003802/0.6484, allocations: 342.9 kB / 1.065 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6484, allocations: 0 / 1.065 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006083/0.649, allocations: 187.8 kB / 1.065 GB, free: 3.441 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005167/0.6495, allocations: 275.2 kB / 1.065 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004703/0.65, allocations: 287.7 kB / 1.066 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.65, allocations: 0 / 1.066 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002197/0.6503, allocations: 159.8 kB / 1.066 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/0.6517, allocations: 321.9 kB / 1.066 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.6535, allocations: 1.335 MB / 1.067 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.6539, allocations: 0.8747 MB / 1.068 GB, free: 152 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000388/0.6543, allocations: 116.7 kB / 1.068 GB, free: 32 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.6544, allocations: 59.42 kB / 1.068 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of SimCode: time 6.11e-07/0.6544, allocations: 0 / 1.068 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of Templates: time 0.01878/0.6732, allocations: 11.16 MB / 1.079 GB, free: 4.992 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1)