Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_3.0.0_Buildings.Fluid.Sensors.Examples.HeatMeter") translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001164/0.001164, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001285/0.001285, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.384/1.384, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.828/2.828, allocations: 472.6 MB / 0.7448 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 64.75 kB / 0.9115 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3405, allocations: 159.9 MB / 1.068 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02435/0.3648, allocations: 23.1 MB / 1.09 GB, free: 3.637 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.007945/0.3728, allocations: 5.038 MB / 1.095 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.3743, allocations: 27.81 kB / 1.095 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.3756, allocations: 238.7 kB / 1.095 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003594/0.3793, allocations: 0.7349 MB / 1.096 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002475/0.3818, allocations: 0.6942 MB / 1.097 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002741/0.3846, allocations: 1.625 MB / 1.098 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008762/0.3854, allocations: 485.8 kB / 1.099 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.3872, allocations: 0.6165 MB / 1.099 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006675/0.3879, allocations: 469.9 kB / 1.1 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.777e-05/0.388, allocations: 48 kB / 1.1 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/0.3894, allocations: 499 kB / 1.1 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.3896, allocations: 139.6 kB / 1.101 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003564/0.39, allocations: 310.5 kB / 1.101 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.3913, allocations: 0.9153 MB / 1.102 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3913, allocations: 0 / 1.102 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3913, allocations: 0 / 1.102 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.022e-05/0.3913, allocations: 0 / 1.102 GB, free: 7.824 MB / 0.8575 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.001459/0.3928, allocations: 0.8921 MB / 1.103 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.3928, allocations: 12.03 kB / 1.103 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002494/0.3931, allocations: 64.19 kB / 1.103 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.3941, allocations: 0.561 MB / 1.103 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.3942, allocations: 36.94 kB / 1.103 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.057e-05/0.3943, allocations: 40 kB / 1.103 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007206/0.395, allocations: 436.7 kB / 1.104 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.395, allocations: 0 / 1.104 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.264e-05/0.3951, allocations: 16 kB / 1.104 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.696e-05/0.3951, allocations: 15.98 kB / 1.104 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004945/0.3956, allocations: 303.8 kB / 1.104 GB, free: 5.355 MB / 0.8575 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.002635/0.3982, allocations: 1.911 MB / 1.106 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004914/0.3987, allocations: 256.4 kB / 1.106 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.3989, allocations: 124.7 kB / 1.106 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008957/0.3998, allocations: 0.8506 MB / 1.107 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.3999, allocations: 42.48 kB / 1.107 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=26): time 1.653e-06/0.3999, allocations: 0 / 1.107 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of matching and sorting (n=26): time 0.0007693/0.4007, allocations: 367.3 kB / 1.108 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.396e-05/0.4007, allocations: 59.34 kB / 1.108 GB, free: 1.414 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005991/0.4014, allocations: 477.9 kB / 1.108 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.4014, allocations: 33.64 kB / 1.108 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/0.4017, allocations: 256 kB / 1.108 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.4018, allocations: 94.67 kB / 1.108 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.4019, allocations: 77.86 kB / 1.108 GB, free: 476 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.4021, allocations: 362.8 kB / 1.109 GB, free: 104 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.4023, allocations: 100.6 kB / 1.109 GB, free: 4 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/0.4026, allocations: 176 kB / 1.109 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004132/0.403, allocations: 283.2 kB / 1.109 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.403, allocations: 4 kB / 1.109 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005902/0.4036, allocations: 361 kB / 1.11 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.4036, allocations: 8 kB / 1.11 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.4036, allocations: 0 / 1.11 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.4037, allocations: 4 kB / 1.11 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.4039, allocations: 83.77 kB / 1.11 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.404, allocations: 4 kB / 1.11 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.4043, allocations: 35.59 kB / 1.11 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.342e-05/0.4043, allocations: 20.09 kB / 1.11 GB, free: 14.99 MB / 0.8731 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.0002183/0.4045, allocations: 181.7 kB / 1.11 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.365e-05/0.4046, allocations: 55.42 kB / 1.11 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008329/0.4055, allocations: 466.9 kB / 1.111 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.4055, allocations: 11.92 kB / 1.111 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.4055, allocations: 0 / 1.111 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006711/0.4062, allocations: 0.5684 MB / 1.111 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.408, allocations: 1.157 MB / 1.112 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.408, allocations: 4 kB / 1.112 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.4082, allocations: 43.98 kB / 1.112 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.4083, allocations: 12.12 kB / 1.112 GB, free: 12.33 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.4083, allocations: 11.98 kB / 1.112 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.4083, allocations: 4 kB / 1.112 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4083, allocations: 0 / 1.112 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009481/0.4093, allocations: 0.6717 MB / 1.113 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/0.4095, allocations: 172.3 kB / 1.113 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.055e-05/0.4096, allocations: 8 kB / 1.113 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002999/0.4099, allocations: 19.92 kB / 1.113 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/0.4099, allocations: 27.97 kB / 1.113 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.851e-05/0.41, allocations: 23.92 kB / 1.113 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004274/0.4104, allocations: 342.8 kB / 1.114 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4104, allocations: 0 / 1.114 GB, free: 11.01 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007263/0.4112, allocations: 195.7 kB / 1.114 GB, free: 10.82 MB / 0.8731 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.0008191/0.412, allocations: 283 kB / 1.114 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005793/0.4126, allocations: 311.6 kB / 1.114 GB, free: 10.24 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.4126, allocations: 4 kB / 1.114 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.4128, allocations: 165.2 kB / 1.114 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/0.4143, allocations: 333.2 kB / 1.115 GB, free: 9.758 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.4161, allocations: 1.243 MB / 1.116 GB, free: 8.469 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.4165, allocations: 0.8666 MB / 1.117 GB, free: 7.574 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000374/0.4169, allocations: 120.6 kB / 1.117 GB, free: 7.453 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.417, allocations: 59.42 kB / 1.117 GB, free: 7.395 MB / 0.8731 GB Notification: Performance of SimCode: time 5.91e-07/0.417, allocations: 0 / 1.117 GB, free: 7.395 MB / 0.8731 GB Notification: Performance of Templates: time 0.02033/0.4373, allocations: 11.96 MB / 1.129 GB, free: 11.6 MB / 0.8887 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1)