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.001787/0.001787, allocations: 106.4 kB / 16.37 MB, free: 6.438 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.001247/0.001247, allocations: 189.1 kB / 17.3 MB, free: 5.781 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.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.244/2.244, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 65.78 kB / 0.814 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3387, allocations: 140.4 MB / 0.9511 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02514/0.3639, allocations: 23.25 MB / 0.9738 GB, free: 0.7578 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.008551/0.3725, allocations: 5.074 MB / 0.9788 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.3737, allocations: 27.81 kB / 0.9788 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0009829/0.3747, allocations: 278.1 kB / 0.9791 GB, free: 11.37 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.002679/0.3775, allocations: 0.785 MB / 0.9798 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.002259/0.3797, allocations: 0.7664 MB / 0.9806 GB, free: 9.816 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002205/0.382, allocations: 1.606 MB / 0.9821 GB, free: 8.203 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006829/0.3827, allocations: 493.5 kB / 0.9826 GB, free: 7.719 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.3843, allocations: 0.6227 MB / 0.9832 GB, free: 7.098 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006976/0.385, allocations: 454 kB / 0.9837 GB, free: 6.652 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 6.998e-05/0.3851, allocations: 44 kB / 0.9837 GB, free: 6.609 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.3863, allocations: 491.1 kB / 0.9842 GB, free: 6.129 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.3865, allocations: 135.6 kB / 0.9843 GB, free: 5.996 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0003504/0.3868, allocations: 314.5 kB / 0.9846 GB, free: 5.688 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.3882, allocations: 0.9153 MB / 0.9855 GB, free: 4.77 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.3882, allocations: 0 / 0.9855 GB, free: 4.77 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3882, allocations: 0 / 0.9855 GB, free: 4.77 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.3882, allocations: 4 kB / 0.9855 GB, free: 4.766 MB / 0.7637 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.001408/0.3897, allocations: 0.8842 MB / 0.9864 GB, free: 3.832 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3897, allocations: 8.031 kB / 0.9864 GB, free: 3.824 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002541/0.39, allocations: 68.27 kB / 0.9864 GB, free: 3.758 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.3911, allocations: 0.5766 MB / 0.987 GB, free: 3.141 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.3912, allocations: 32.94 kB / 0.987 GB, free: 3.109 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.103e-05/0.3913, allocations: 55.83 kB / 0.9871 GB, free: 3.055 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006971/0.392, allocations: 444.7 kB / 0.9875 GB, free: 2.598 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.392, allocations: 4 kB / 0.9875 GB, free: 2.594 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.97e-05/0.392, allocations: 16 kB / 0.9875 GB, free: 2.578 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.3921, allocations: 8 kB / 0.9875 GB, free: 2.57 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004876/0.3926, allocations: 307.7 kB / 0.9878 GB, free: 2.27 MB / 0.7637 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.002615/0.3952, allocations: 1.903 MB / 0.9897 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005143/0.3957, allocations: 262.6 kB / 0.9899 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.3959, allocations: 124.8 kB / 0.9901 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008096/0.3967, allocations: 0.8506 MB / 0.9909 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.3968, allocations: 34.56 kB / 0.9909 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 2.515e-06/0.3968, allocations: 0 / 0.9909 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26): time 0.0007088/0.3975, allocations: 364 kB / 0.9913 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.3975, allocations: 59.34 kB / 0.9913 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005404/0.3981, allocations: 478 kB / 0.9918 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.3981, allocations: 33.64 kB / 0.9918 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.3983, allocations: 268.1 kB / 0.9921 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.213e-05/0.3984, allocations: 94.59 kB / 0.9922 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.3985, allocations: 69.92 kB / 0.9922 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.3987, allocations: 358.8 kB / 0.9926 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.3989, allocations: 104.6 kB / 0.9927 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.3991, allocations: 168 kB / 0.9928 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/0.3995, allocations: 287.1 kB / 0.9931 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3995, allocations: 4 kB / 0.9931 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005461/0.4, allocations: 352.9 kB / 0.9934 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.4001, allocations: 8 kB / 0.9934 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.4001, allocations: 0 / 0.9934 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.4001, allocations: 4 kB / 0.9935 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.4004, allocations: 87.98 kB / 0.9935 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.4004, allocations: 4 kB / 0.9935 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.4007, allocations: 31.64 kB / 0.9936 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.4007, allocations: 27.91 kB / 0.9936 GB, free: 11.91 MB / 0.7794 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.0002041/0.4009, allocations: 177.7 kB / 0.9938 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.107e-05/0.401, allocations: 51.44 kB / 0.9938 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007747/0.4018, allocations: 468.8 kB / 0.9943 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.4018, allocations: 11.92 kB / 0.9943 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4019, allocations: 0 / 0.9943 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005572/0.4024, allocations: 0.5613 MB / 0.9948 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.4042, allocations: 1.164 MB / 0.996 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.4042, allocations: 0 / 0.996 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.4044, allocations: 55.91 kB / 0.996 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/0.4044, allocations: 12.19 kB / 0.996 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.4045, allocations: 8 kB / 0.996 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.4045, allocations: 4 kB / 0.996 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4045, allocations: 0 / 0.996 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008377/0.4053, allocations: 0.6679 MB / 0.9967 GB, free: 8.535 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.4056, allocations: 168.4 kB / 0.9968 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.937e-05/0.4056, allocations: 15.92 kB / 0.9969 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.4059, allocations: 11.94 kB / 0.9969 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.406, allocations: 23.97 kB / 0.9969 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/0.406, allocations: 19.92 kB / 0.9969 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003858/0.4064, allocations: 346.9 kB / 0.9972 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4064, allocations: 0 / 0.9972 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006731/0.4071, allocations: 199.8 kB / 0.9974 GB, free: 7.75 MB / 0.7794 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.000635/0.4077, allocations: 298.2 kB / 0.9977 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004978/0.4082, allocations: 295.4 kB / 0.998 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4082, allocations: 0 / 0.998 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.4085, allocations: 159.8 kB / 0.9982 GB, free: 7.012 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.4098, allocations: 334.6 kB / 0.9985 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.4116, allocations: 1.06 MB / 0.9995 GB, free: 5.586 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.4121, allocations: 0.8666 MB / 1 GB, free: 4.691 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003988/0.4125, allocations: 120.6 kB / 1 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.4126, allocations: 55.42 kB / 1.001 GB, free: 4.516 MB / 0.7794 GB Notification: Performance of SimCode: time 1.002e-06/0.4126, allocations: 4 kB / 1.001 GB, free: 4.512 MB / 0.7794 GB Notification: Performance of Templates: time 0.02183/0.4344, allocations: 12.13 MB / 1.012 GB, free: 8.57 MB / 0.795 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 -s cvode -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1)