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.006933/0.006933, 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.001551/0.001551, 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.388/1.388, 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 10.1.0-maint.10.0.x/package.mo): time 2.611/2.611, allocations: 437 MB / 0.7106 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 67.84 kB / 0.8692 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6469/0.6484, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02714/0.6755, allocations: 23.14 MB / 1.04 GB, free: 11.53 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.007978/0.6836, allocations: 5.129 MB / 1.045 GB, free: 6.387 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.6847, allocations: 27.81 kB / 1.045 GB, free: 6.359 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.6858, allocations: 222.7 kB / 1.045 GB, free: 6.141 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002428/0.6883, allocations: 0.7232 MB / 1.046 GB, free: 5.414 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.6903, allocations: 0.69 MB / 1.047 GB, free: 4.73 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002561/0.6929, allocations: 2.167 MB / 1.049 GB, free: 2.555 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008056/0.6937, allocations: 415.2 kB / 1.049 GB, free: 2.145 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001194/0.6949, allocations: 0.5406 MB / 1.05 GB, free: 1.602 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008228/0.6958, allocations: 457.9 kB / 1.05 GB, free: 1.152 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.6959, allocations: 28 kB / 1.05 GB, free: 1.125 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.6971, allocations: 466.9 kB / 1.05 GB, free: 0.668 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001966/0.6973, allocations: 115.5 kB / 1.051 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0004215/0.6978, allocations: 294.5 kB / 1.051 GB, free: 272 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000992/0.6988, allocations: 0.6744 MB / 1.052 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6988, allocations: 4 kB / 1.052 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6988, allocations: 0 / 1.052 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.99e-05/0.6988, allocations: 0 / 1.052 GB, free: 15.59 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.001686/0.7005, allocations: 0.8842 MB / 1.052 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.7006, allocations: 8.031 kB / 1.052 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002638/0.7008, allocations: 68.19 kB / 1.052 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.7019, allocations: 0.5649 MB / 1.053 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.702, allocations: 32.94 kB / 1.053 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.024e-05/0.7021, allocations: 40 kB / 1.053 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007764/0.7028, allocations: 436.7 kB / 1.053 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.7029, allocations: 0 / 1.053 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.107e-05/0.7029, allocations: 20 kB / 1.054 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.7029, allocations: 8 kB / 1.054 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005326/0.7035, allocations: 307.8 kB / 1.054 GB, free: 13.12 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.002919/0.7064, allocations: 1.915 MB / 1.056 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000546/0.707, allocations: 254.9 kB / 1.056 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.7072, allocations: 128.7 kB / 1.056 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008857/0.7081, allocations: 0.8467 MB / 1.057 GB, free: 9.66 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/0.7081, allocations: 38.56 kB / 1.057 GB, free: 9.613 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=26): time 2.565e-06/0.7082, allocations: 0 / 1.057 GB, free: 9.613 MB / 0.8106 GB Notification: Performance of matching and sorting (n=26): time 0.0007911/0.709, allocations: 367.1 kB / 1.057 GB, free: 9.25 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.709, allocations: 63.34 kB / 1.057 GB, free: 9.176 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005946/0.7096, allocations: 462.1 kB / 1.058 GB, free: 8.715 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.7097, allocations: 33.7 kB / 1.058 GB, free: 8.676 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.7099, allocations: 260 kB / 1.058 GB, free: 8.418 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.094e-05/0.71, allocations: 94.64 kB / 1.058 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.7101, allocations: 77.92 kB / 1.058 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.7103, allocations: 358.8 kB / 1.059 GB, free: 7.883 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.7105, allocations: 96.55 kB / 1.059 GB, free: 7.789 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.7107, allocations: 168.1 kB / 1.059 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004248/0.7111, allocations: 282.6 kB / 1.059 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.7111, allocations: 0 / 1.059 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006319/0.7118, allocations: 368.9 kB / 1.059 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.7118, allocations: 7.938 kB / 1.059 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.7118, allocations: 4 kB / 1.059 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.7118, allocations: 7.938 kB / 1.059 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/0.7122, allocations: 79.78 kB / 1.06 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.7122, allocations: 7.984 kB / 1.06 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/0.7125, allocations: 43.75 kB / 1.06 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.189e-05/0.7126, allocations: 19.98 kB / 1.06 GB, free: 6.766 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.0002349/0.7128, allocations: 173.8 kB / 1.06 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.7129, allocations: 51.47 kB / 1.06 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008505/0.7138, allocations: 473 kB / 1.06 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.7138, allocations: 11.92 kB / 1.06 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.7138, allocations: 0 / 1.06 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006304/0.7145, allocations: 0.5762 MB / 1.061 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.7164, allocations: 1.152 MB / 1.062 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.7164, allocations: 0 / 1.062 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.7166, allocations: 47.97 kB / 1.062 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.7167, allocations: 4 kB / 1.062 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.855e-05/0.7167, allocations: 11.98 kB / 1.062 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.7167, allocations: 7.938 kB / 1.062 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.7167, allocations: 0 / 1.062 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009575/0.7177, allocations: 0.6677 MB / 1.063 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002271/0.7179, allocations: 172.4 kB / 1.063 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.141e-05/0.718, allocations: 8 kB / 1.063 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003214/0.7183, allocations: 19.98 kB / 1.063 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.7184, allocations: 23.97 kB / 1.063 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/0.7184, allocations: 27.86 kB / 1.063 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004196/0.7189, allocations: 338.9 kB / 1.063 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7189, allocations: 0 / 1.063 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006688/0.7196, allocations: 191.8 kB / 1.063 GB, free: 2.602 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.0007385/0.7203, allocations: 284.4 kB / 1.064 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005421/0.7209, allocations: 296 kB / 1.064 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.7209, allocations: 448 / 1.064 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002487/0.7211, allocations: 167.8 kB / 1.064 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.7227, allocations: 317.3 kB / 1.064 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.7247, allocations: 1.274 MB / 1.066 GB, free: 252 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005101/0.7252, allocations: 0.863 MB / 1.067 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.7254, allocations: 59.42 kB / 1.067 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of SimCode: time 4.81e-07/0.7254, allocations: 0 / 1.067 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of Templates: time 0.01682/0.7422, allocations: 9.769 MB / 1.076 GB, free: 5.621 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)