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.001161/0.001161, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 183.5 kB / 16.92 MB, free: 6.922 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.549/1.549, allocations: 223.3 MB / 241 MB, free: 5.32 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.722/2.722, allocations: 437.8 MB / 0.7128 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003687/0.0003688, allocations: 12 kB / 0.8735 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6576/0.658, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02544/0.6835, allocations: 22.51 MB / 1.046 GB, free: 9.27 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.008219/0.6917, allocations: 5.061 MB / 1.051 GB, free: 4.195 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.693, allocations: 27.81 kB / 1.051 GB, free: 4.168 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.694, allocations: 230.7 kB / 1.051 GB, free: 3.941 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002407/0.6964, allocations: 0.7271 MB / 1.052 GB, free: 3.211 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.6986, allocations: 0.6882 MB / 1.052 GB, free: 2.527 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.00278/0.7014, allocations: 2.167 MB / 1.054 GB, free: 360 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009123/0.7023, allocations: 406.6 kB / 1.055 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.7036, allocations: 0.5172 MB / 1.055 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008779/0.7045, allocations: 446 kB / 1.056 GB, free: 14.99 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.7046, allocations: 20 kB / 1.056 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.7058, allocations: 454.9 kB / 1.056 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.7061, allocations: 119.4 kB / 1.056 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0004674/0.7065, allocations: 304.2 kB / 1.057 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.7077, allocations: 0.6664 MB / 1.057 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.7077, allocations: 0 / 1.057 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7077, allocations: 3.938 kB / 1.057 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.397e-05/0.7078, allocations: 0 / 1.057 GB, free: 13.43 MB / 0.8106 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.001501/0.7093, allocations: 0.7792 MB / 1.058 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.7093, allocations: 8.031 kB / 1.058 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002759/0.7096, allocations: 64.28 kB / 1.058 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001229/0.7109, allocations: 0.5649 MB / 1.059 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.355e-05/0.7109, allocations: 32.94 kB / 1.059 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.773e-05/0.711, allocations: 44 kB / 1.059 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000731/0.7117, allocations: 436.7 kB / 1.059 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.7117, allocations: 0 / 1.059 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.418e-05/0.7118, allocations: 16 kB / 1.059 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.7118, allocations: 11.94 kB / 1.059 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005244/0.7124, allocations: 307.8 kB / 1.059 GB, free: 11.08 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.002872/0.7152, allocations: 1.931 MB / 1.061 GB, free: 9.02 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005168/0.7158, allocations: 262.9 kB / 1.062 GB, free: 8.754 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.716, allocations: 124.7 kB / 1.062 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008898/0.7169, allocations: 0.8584 MB / 1.062 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.7169, allocations: 38.55 kB / 1.063 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=26): time 1.363e-06/0.7169, allocations: 0 / 1.063 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of matching and sorting (n=26): time 0.0007397/0.7177, allocations: 364.2 kB / 1.063 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/0.7177, allocations: 59.34 kB / 1.063 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006168/0.7184, allocations: 474.1 kB / 1.063 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.549e-05/0.7184, allocations: 29.7 kB / 1.063 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.7186, allocations: 260 kB / 1.064 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.497e-05/0.7187, allocations: 94.64 kB / 1.064 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.827e-05/0.7188, allocations: 37.7 kB / 1.064 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.719, allocations: 358.7 kB / 1.064 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001758/0.7192, allocations: 100.6 kB / 1.064 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.7194, allocations: 164.1 kB / 1.064 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004252/0.7198, allocations: 294.6 kB / 1.065 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.7199, allocations: 0 / 1.065 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006068/0.7205, allocations: 360.9 kB / 1.065 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.7205, allocations: 9.875 kB / 1.065 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.7205, allocations: 0 / 1.065 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.7205, allocations: 8.219 kB / 1.065 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.7208, allocations: 79.77 kB / 1.065 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.976e-05/0.7208, allocations: 4 kB / 1.065 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/0.7212, allocations: 51.5 kB / 1.065 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/0.7212, allocations: 19.98 kB / 1.065 GB, free: 4.727 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002442/0.7215, allocations: 173.8 kB / 1.065 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.356e-05/0.7216, allocations: 55.44 kB / 1.065 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008113/0.7224, allocations: 473 kB / 1.066 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.7224, allocations: 11.94 kB / 1.066 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.7224, allocations: 0 / 1.066 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005665/0.723, allocations: 0.5722 MB / 1.066 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/0.7248, allocations: 1.156 MB / 1.068 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.7248, allocations: 4 kB / 1.068 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.7251, allocations: 48.17 kB / 1.068 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.376e-05/0.7251, allocations: 7.984 kB / 1.068 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.7251, allocations: 11.94 kB / 1.068 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/0.7251, allocations: 4 kB / 1.068 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.7251, allocations: 4 kB / 1.068 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00092/0.7261, allocations: 0.6677 MB / 1.068 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002241/0.7263, allocations: 180.3 kB / 1.068 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.556e-05/0.7264, allocations: 8 kB / 1.068 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.7267, allocations: 15.98 kB / 1.068 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.7268, allocations: 27.97 kB / 1.068 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/0.7268, allocations: 23.92 kB / 1.068 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004192/0.7272, allocations: 334.9 kB / 1.069 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7272, allocations: 0 / 1.069 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006659/0.7279, allocations: 199.7 kB / 1.069 GB, free: 0.5391 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 (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.0006737/0.7286, allocations: 290.2 kB / 1.069 GB, free: 260 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005468/0.7291, allocations: 292.7 kB / 1.07 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.7292, allocations: 3.938 kB / 1.07 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.7294, allocations: 156.6 kB / 1.07 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/0.7312, allocations: 330 kB / 1.07 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.7331, allocations: 1.345 MB / 1.071 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.7336, allocations: 0.8591 MB / 1.072 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.7338, allocations: 63.41 kB / 1.072 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of SimCode: time 9.72e-07/0.7338, allocations: 0 / 1.072 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of Templates: time 0.01625/0.7501, allocations: 9.682 MB / 1.082 GB, free: 3.562 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)