Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.Sensors.Examples.HeatMeter") translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001115/0.001115, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001354/0.001354, allocations: 199.2 kB / 16.14 MB, free: 6.695 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.428/1.428, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.937/2.937, allocations: 472.6 MB / 0.7447 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 62.12 kB / 0.9113 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3467, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02247/0.3692, allocations: 23.13 MB / 1.09 GB, free: 3.684 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.007841/0.3771, allocations: 5.128 MB / 1.095 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.3783, allocations: 27.81 kB / 1.095 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.3794, allocations: 222.7 kB / 1.095 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002522/0.382, allocations: 0.731 MB / 1.096 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.3841, allocations: 0.6831 MB / 1.097 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002765/0.3869, allocations: 2.171 MB / 1.099 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008912/0.3878, allocations: 417.4 kB / 1.099 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00137/0.3892, allocations: 0.5289 MB / 1.1 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009819/0.3902, allocations: 469.9 kB / 1.1 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.907e-05/0.3903, allocations: 31.88 kB / 1.1 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.3916, allocations: 459 kB / 1.101 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001548/0.3917, allocations: 119.5 kB / 1.101 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003543/0.3921, allocations: 294.5 kB / 1.101 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.3932, allocations: 0.8919 MB / 1.102 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3932, allocations: 0 / 1.102 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.595e-06/0.3932, allocations: 0 / 1.102 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.3932, allocations: 7.938 kB / 1.102 GB, free: 7.523 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.001508/0.3947, allocations: 0.8882 MB / 1.103 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.3948, allocations: 12.03 kB / 1.103 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002379/0.395, allocations: 64.19 kB / 1.103 GB, free: 6.512 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009697/0.396, allocations: 0.5649 MB / 1.103 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.3961, allocations: 32.94 kB / 1.103 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.928e-05/0.3961, allocations: 36 kB / 1.104 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007163/0.3969, allocations: 444.6 kB / 1.104 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.3969, allocations: 0 / 1.104 GB, free: 5.383 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.44e-05/0.3969, allocations: 16 kB / 1.104 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.355e-05/0.397, allocations: 16 kB / 1.104 GB, free: 5.352 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005714/0.3976, allocations: 303.8 kB / 1.104 GB, free: 5.055 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.002921/0.4005, allocations: 1.903 MB / 1.106 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005982/0.4011, allocations: 268.4 kB / 1.106 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001968/0.4013, allocations: 124.8 kB / 1.106 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009836/0.4023, allocations: 0.8428 MB / 1.107 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.4024, allocations: 42.5 kB / 1.107 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=26): time 1.683e-06/0.4024, allocations: 0 / 1.107 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of matching and sorting (n=26): time 0.0009026/0.4033, allocations: 371.3 kB / 1.108 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.4033, allocations: 59.34 kB / 1.108 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005766/0.4039, allocations: 477.9 kB / 1.108 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.404, allocations: 29.7 kB / 1.108 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000298/0.4043, allocations: 264 kB / 1.108 GB, free: 344 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.942e-05/0.4044, allocations: 90.69 kB / 1.109 GB, free: 252 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.4045, allocations: 73.92 kB / 1.109 GB, free: 172 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.4047, allocations: 362.8 kB / 1.109 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.4048, allocations: 96.61 kB / 1.109 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.4051, allocations: 168 kB / 1.109 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003989/0.4055, allocations: 282.6 kB / 1.11 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4055, allocations: 4 kB / 1.11 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005732/0.4061, allocations: 368.8 kB / 1.11 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.4061, allocations: 8 kB / 1.11 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.4061, allocations: 0 / 1.11 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.4062, allocations: 4 kB / 1.11 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.4064, allocations: 71.84 kB / 1.11 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.4064, allocations: 4 kB / 1.11 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003004/0.4068, allocations: 51.8 kB / 1.11 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.4068, allocations: 11.98 kB / 1.11 GB, free: 14.7 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.000209/0.407, allocations: 185.7 kB / 1.11 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.4071, allocations: 51.47 kB / 1.11 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008118/0.4079, allocations: 471.1 kB / 1.111 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.408, allocations: 7.938 kB / 1.111 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.984e-06/0.408, allocations: 3.984 kB / 1.111 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005852/0.4086, allocations: 0.5648 MB / 1.111 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/0.4104, allocations: 1.152 MB / 1.112 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.4105, allocations: 4.188 kB / 1.112 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.4107, allocations: 55.91 kB / 1.112 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.4107, allocations: 4 kB / 1.112 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.4107, allocations: 11.98 kB / 1.112 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.615e-06/0.4108, allocations: 4 kB / 1.112 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4108, allocations: 0 / 1.112 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009268/0.4117, allocations: 0.6678 MB / 1.113 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.4119, allocations: 172.4 kB / 1.113 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.126e-05/0.412, allocations: 8 kB / 1.113 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/0.4123, allocations: 23.92 kB / 1.113 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.4123, allocations: 31.84 kB / 1.113 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/0.4124, allocations: 19.92 kB / 1.113 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000391/0.4128, allocations: 342.9 kB / 1.114 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4128, allocations: 3.938 kB / 1.114 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006545/0.4134, allocations: 195.7 kB / 1.114 GB, free: 10.53 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.0006736/0.4141, allocations: 284.3 kB / 1.114 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005026/0.4146, allocations: 279.7 kB / 1.114 GB, free: 9.973 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4146, allocations: 0 / 1.114 GB, free: 9.973 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002512/0.4149, allocations: 169.2 kB / 1.115 GB, free: 9.809 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.4165, allocations: 319 kB / 1.115 GB, free: 9.504 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.4183, allocations: 1.249 MB / 1.116 GB, free: 8.207 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.4187, allocations: 0.863 MB / 1.117 GB, free: 7.316 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004238/0.4191, allocations: 124.6 kB / 1.117 GB, free: 7.191 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.4192, allocations: 59.34 kB / 1.117 GB, free: 7.133 MB / 0.8731 GB Notification: Performance of SimCode: time 2.7e-07/0.4193, allocations: 0 / 1.117 GB, free: 7.133 MB / 0.8731 GB Notification: Performance of Templates: time 0.02279/0.442, allocations: 11.56 MB / 1.128 GB, free: 11.73 MB / 0.8887 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1)