Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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_latest_Buildings.Fluid.Sensors.Examples.HeatMeter") translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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.001214/0.001214, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001057/0.001058, allocations: 191 kB / 17.29 MB, free: 5.516 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.402/1.402, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.655/2.655, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 63.69 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3289, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02473/0.3537, allocations: 23.26 MB / 1.049 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.007879/0.3616, allocations: 5.093 MB / 1.054 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.3627, allocations: 27.81 kB / 1.054 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008708/0.3637, allocations: 274.1 kB / 1.055 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002162/0.3658, allocations: 0.789 MB / 1.055 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001954/0.3678, allocations: 0.7653 MB / 1.056 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001928/0.3697, allocations: 1.602 MB / 1.058 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006637/0.3704, allocations: 493.5 kB / 1.058 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/0.3718, allocations: 0.6098 MB / 1.059 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005784/0.3724, allocations: 457.9 kB / 1.059 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.07e-05/0.3725, allocations: 48 kB / 1.059 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.3736, allocations: 487.1 kB / 1.06 GB, free: 76 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.3738, allocations: 143.5 kB / 1.06 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003231/0.3741, allocations: 310.5 kB / 1.06 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.3754, allocations: 0.9192 MB / 1.061 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3754, allocations: 0 / 1.061 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.063e-06/0.3754, allocations: 0 / 1.061 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.3754, allocations: 4 kB / 1.061 GB, free: 14.7 MB / 0.8419 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.001324/0.3768, allocations: 0.8843 MB / 1.062 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.3768, allocations: 15.95 kB / 1.062 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002221/0.3771, allocations: 68.19 kB / 1.062 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.3781, allocations: 0.5805 MB / 1.063 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.3781, allocations: 36.94 kB / 1.063 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.014e-05/0.3782, allocations: 36 kB / 1.063 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006912/0.3789, allocations: 444.7 kB / 1.063 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.379, allocations: 0 / 1.063 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.241e-05/0.379, allocations: 16 kB / 1.063 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.529e-05/0.379, allocations: 12 kB / 1.063 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004999/0.3795, allocations: 303.8 kB / 1.063 GB, free: 12.21 MB / 0.8419 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.002706/0.3823, allocations: 1.915 MB / 1.065 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005669/0.3828, allocations: 250.8 kB / 1.066 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.383, allocations: 128.8 kB / 1.066 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000862/0.3839, allocations: 0.8506 MB / 1.066 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.384, allocations: 38.56 kB / 1.067 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=26): time 1.443e-06/0.384, allocations: 0 / 1.067 GB, free: 8.703 MB / 0.8419 GB Notification: Performance of matching and sorting (n=26): time 0.0007254/0.3847, allocations: 362.9 kB / 1.067 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.3848, allocations: 59.34 kB / 1.067 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005569/0.3853, allocations: 474 kB / 1.067 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/0.3854, allocations: 33.7 kB / 1.067 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/0.3856, allocations: 264 kB / 1.068 GB, free: 7.5 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.7e-05/0.3857, allocations: 102.5 kB / 1.068 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.3858, allocations: 73.92 kB / 1.068 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.386, allocations: 354.8 kB / 1.068 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.3861, allocations: 96.59 kB / 1.068 GB, free: 6.871 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.3864, allocations: 176 kB / 1.068 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000419/0.3868, allocations: 287.9 kB / 1.069 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3868, allocations: 0 / 1.069 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005467/0.3873, allocations: 356.9 kB / 1.069 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3874, allocations: 4 kB / 1.069 GB, free: 6.012 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.3874, allocations: 4 kB / 1.069 GB, free: 6.008 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.3874, allocations: 7.984 kB / 1.069 GB, free: 6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002633/0.3877, allocations: 76 kB / 1.069 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.3877, allocations: 8 kB / 1.069 GB, free: 5.918 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.388, allocations: 39.53 kB / 1.069 GB, free: 5.879 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/0.388, allocations: 15.98 kB / 1.069 GB, free: 5.863 MB / 0.8419 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.00021/0.3882, allocations: 181.7 kB / 1.069 GB, free: 5.676 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.769e-05/0.3883, allocations: 51.38 kB / 1.069 GB, free: 5.625 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007846/0.3891, allocations: 465.1 kB / 1.07 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.3891, allocations: 11.92 kB / 1.07 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3891, allocations: 0 / 1.07 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005594/0.3897, allocations: 0.5653 MB / 1.07 GB, free: 4.512 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/0.3914, allocations: 1.163 MB / 1.072 GB, free: 3.258 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3914, allocations: 0 / 1.072 GB, free: 3.258 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.3916, allocations: 51.91 kB / 1.072 GB, free: 3.207 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.3917, allocations: 4.188 kB / 1.072 GB, free: 3.203 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.3917, allocations: 12 kB / 1.072 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.3917, allocations: 4 kB / 1.072 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.3917, allocations: 0 / 1.072 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008496/0.3926, allocations: 0.6733 MB / 1.072 GB, free: 2.48 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000193/0.3928, allocations: 172.4 kB / 1.072 GB, free: 2.293 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.69e-05/0.3928, allocations: 8 kB / 1.072 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002572/0.3931, allocations: 12.08 kB / 1.072 GB, free: 2.273 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.3932, allocations: 27.95 kB / 1.072 GB, free: 2.246 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.746e-05/0.3932, allocations: 23.92 kB / 1.073 GB, free: 2.223 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003862/0.3936, allocations: 346.9 kB / 1.073 GB, free: 1.887 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3936, allocations: 0 / 1.073 GB, free: 1.887 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006419/0.3942, allocations: 195.8 kB / 1.073 GB, free: 1.695 MB / 0.8419 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.0006617/0.3949, allocations: 293 kB / 1.073 GB, free: 1.406 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004909/0.3954, allocations: 295.7 kB / 1.074 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3954, allocations: 0 / 1.074 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.3957, allocations: 163.8 kB / 1.074 GB, free: 0.957 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.397, allocations: 338.8 kB / 1.074 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5406/0.9376, allocations: 1.052 MB / 1.075 GB, free: 55.73 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.9381, allocations: 0.8632 MB / 1.076 GB, free: 55.04 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.00055/0.9387, allocations: 121.9 kB / 1.076 GB, free: 55.03 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.9388, allocations: 58.88 kB / 1.076 GB, free: 55.02 MB / 0.8419 GB Notification: Performance of SimCode: time 1.132e-06/0.9388, allocations: 0 / 1.076 GB, free: 55.02 MB / 0.8419 GB Notification: Performance of Templates: time 0.03474/0.9736, allocations: 12.14 MB / 1.088 GB, free: 54.3 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1)