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.0009026/0.0009026, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007087/0.007087, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.45/1.45, allocations: 223.2 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.904/2.904, allocations: 473.4 MB / 0.7469 GB, free: 6.094 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004893, allocations: 11.06 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3637, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.0242/0.388, allocations: 22.51 MB / 1.096 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.008153/0.3962, allocations: 5.065 MB / 1.101 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000978/0.3972, allocations: 19.88 kB / 1.101 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008552/0.398, allocations: 226.7 kB / 1.101 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00233/0.4004, allocations: 0.7348 MB / 1.102 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.4023, allocations: 0.6843 MB / 1.103 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002757/0.4051, allocations: 2.171 MB / 1.105 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007947/0.4059, allocations: 400.9 kB / 1.105 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.4071, allocations: 0.5172 MB / 1.106 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007437/0.4078, allocations: 461.9 kB / 1.106 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.667e-05/0.4079, allocations: 20 kB / 1.106 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.409, allocations: 450.9 kB / 1.107 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.4092, allocations: 107.6 kB / 1.107 GB, free: 6.102 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003918/0.4096, allocations: 308.2 kB / 1.107 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.4112, allocations: 0.8839 MB / 1.108 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.4112, allocations: 3.938 kB / 1.108 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4112, allocations: 0 / 1.108 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.4112, allocations: 0 / 1.108 GB, free: 4.902 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.001334/0.4126, allocations: 0.7754 MB / 1.109 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.4126, allocations: 15.95 kB / 1.109 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002131/0.4128, allocations: 68.19 kB / 1.109 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009882/0.4138, allocations: 0.561 MB / 1.109 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.733e-05/0.4139, allocations: 32.94 kB / 1.109 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.02e-05/0.414, allocations: 44 kB / 1.109 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007245/0.4147, allocations: 436.7 kB / 1.11 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.4147, allocations: 0 / 1.11 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.246e-05/0.4148, allocations: 20 kB / 1.11 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.4148, allocations: 8 kB / 1.11 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005207/0.4153, allocations: 303.8 kB / 1.11 GB, free: 2.547 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.002784/0.4181, allocations: 1.931 MB / 1.112 GB, free: 500 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000505/0.4186, allocations: 255.5 kB / 1.112 GB, free: 236 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001855/0.4188, allocations: 120.8 kB / 1.112 GB, free: 112 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008932/0.4197, allocations: 0.8662 MB / 1.113 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.4198, allocations: 42.5 kB / 1.113 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=26): time 2.154e-06/0.4198, allocations: 4 kB / 1.113 GB, free: 15 MB / 0.8731 GB Notification: Performance of matching and sorting (n=26): time 0.0006825/0.4205, allocations: 363.3 kB / 1.114 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.4205, allocations: 59.34 kB / 1.114 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005395/0.4211, allocations: 473.9 kB / 1.114 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.4211, allocations: 29.7 kB / 1.114 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.4213, allocations: 264 kB / 1.114 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.671e-05/0.4214, allocations: 94.67 kB / 1.114 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-05/0.4215, allocations: 37.7 kB / 1.114 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.4216, allocations: 354.8 kB / 1.115 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.4218, allocations: 100.6 kB / 1.115 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.4221, allocations: 168 kB / 1.115 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003978/0.4225, allocations: 287.2 kB / 1.115 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/0.4225, allocations: 3.938 kB / 1.115 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005585/0.423, allocations: 360.8 kB / 1.116 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.4231, allocations: 11.98 kB / 1.116 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4231, allocations: 0 / 1.116 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.4231, allocations: 8 kB / 1.116 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002681/0.4234, allocations: 75.84 kB / 1.116 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.4234, allocations: 11.92 kB / 1.116 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.4237, allocations: 43.83 kB / 1.116 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.533e-05/0.4238, allocations: 16 kB / 1.116 GB, free: 12.19 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.0002287/0.424, allocations: 181.7 kB / 1.116 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.909e-05/0.4241, allocations: 51.34 kB / 1.116 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008042/0.4249, allocations: 470.9 kB / 1.116 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.361e-05/0.425, allocations: 11.94 kB / 1.116 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.425, allocations: 0 / 1.116 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005718/0.4255, allocations: 0.5684 MB / 1.117 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/0.4274, allocations: 1.164 MB / 1.118 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.4274, allocations: 7.938 kB / 1.118 GB, free: 9.574 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.4276, allocations: 47.97 kB / 1.118 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.4277, allocations: 4 kB / 1.118 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.4277, allocations: 8 kB / 1.118 GB, free: 9.516 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/0.4277, allocations: 11.92 kB / 1.118 GB, free: 9.504 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.4277, allocations: 4 kB / 1.118 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008615/0.4286, allocations: 0.6603 MB / 1.119 GB, free: 8.805 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/0.4288, allocations: 180.4 kB / 1.119 GB, free: 8.609 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.561e-05/0.4289, allocations: 11.98 kB / 1.119 GB, free: 8.598 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002934/0.4292, allocations: 23.92 kB / 1.119 GB, free: 8.574 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.4292, allocations: 23.97 kB / 1.119 GB, free: 8.551 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/0.4293, allocations: 23.92 kB / 1.119 GB, free: 8.527 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004212/0.4297, allocations: 334.9 kB / 1.119 GB, free: 8.203 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.21e-07/0.4297, allocations: 0 / 1.119 GB, free: 8.203 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006744/0.4304, allocations: 191.8 kB / 1.12 GB, free: 8.016 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.0006539/0.431, allocations: 301 kB / 1.12 GB, free: 7.719 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005131/0.4316, allocations: 284 kB / 1.12 GB, free: 7.441 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.4316, allocations: 4 kB / 1.12 GB, free: 7.438 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.4318, allocations: 165.5 kB / 1.12 GB, free: 7.277 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/0.4336, allocations: 317 kB / 1.121 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.4354, allocations: 1.314 MB / 1.122 GB, free: 5.609 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.4358, allocations: 0.8669 MB / 1.123 GB, free: 4.715 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003998/0.4362, allocations: 116.7 kB / 1.123 GB, free: 4.598 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.4364, allocations: 55.42 kB / 1.123 GB, free: 4.543 MB / 0.8731 GB Notification: Performance of SimCode: time 8.51e-07/0.4364, allocations: 0 / 1.123 GB, free: 4.543 MB / 0.8731 GB Notification: Performance of Templates: time 0.02086/0.4572, allocations: 11.5 MB / 1.134 GB, free: 9.195 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)