Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter") translateModel(BuildingSystems.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001304/0.001304, 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.001317/0.001317, allocations: 198.1 kB / 16.14 MB, free: 6.715 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.461/1.461, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002632/0.002632, allocations: 282.8 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.087/1.087, allocations: 178.6 MB / 0.5068 GB, free: 4.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00284/0.00284, allocations: 97.44 kB / 0.6057 GB, free: 25.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1726, allocations: 89.14 MB / 0.6928 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.02537/0.198, allocations: 23.11 MB / 0.7154 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008278/0.2063, allocations: 5.124 MB / 0.7204 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.2075, allocations: 23.81 kB / 0.7204 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008722/0.2084, allocations: 222.7 kB / 0.7206 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002225/0.2106, allocations: 0.7309 MB / 0.7213 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002041/0.2127, allocations: 0.6991 MB / 0.722 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002706/0.2154, allocations: 2.167 MB / 0.7241 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006596/0.2161, allocations: 417.1 kB / 0.7245 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009829/0.2171, allocations: 0.525 MB / 0.725 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006341/0.2177, allocations: 473.8 kB / 0.7255 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.766e-05/0.2178, allocations: 28 kB / 0.7255 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.2189, allocations: 459 kB / 0.7259 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001651/0.2191, allocations: 119.5 kB / 0.726 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003522/0.2195, allocations: 294.5 kB / 0.7263 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.2208, allocations: 0.8996 MB / 0.7272 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2208, allocations: 0 / 0.7272 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2208, allocations: 0 / 0.7272 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.2209, allocations: 4 kB / 0.7272 GB, free: 1.477 MB / 0.5137 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.001541/0.2224, allocations: 0.8805 MB / 0.7281 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.2224, allocations: 8.031 kB / 0.7281 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000234/0.2227, allocations: 68.19 kB / 0.7281 GB, free: 480 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.2237, allocations: 0.5573 MB / 0.7287 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.2237, allocations: 32.94 kB / 0.7287 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.492e-05/0.2238, allocations: 40 kB / 0.7288 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007466/0.2246, allocations: 440.6 kB / 0.7292 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.2246, allocations: 0 / 0.7292 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.161e-05/0.2247, allocations: 16 kB / 0.7292 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.2247, allocations: 12 kB / 0.7292 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005416/0.2252, allocations: 307.8 kB / 0.7295 GB, free: 15.02 MB / 0.5294 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.002837/0.2281, allocations: 1.903 MB / 0.7314 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005388/0.2286, allocations: 262.8 kB / 0.7316 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000195/0.2288, allocations: 121.5 kB / 0.7317 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009407/0.2298, allocations: 0.8467 MB / 0.7325 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.2298, allocations: 30.56 kB / 0.7326 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/0.2298, allocations: 8 kB / 0.7326 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of matching and sorting (n=26): time 0.0007408/0.2306, allocations: 373.5 kB / 0.7329 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.2307, allocations: 63.33 kB / 0.733 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005818/0.2313, allocations: 470 kB / 0.7334 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.2313, allocations: 33.7 kB / 0.7335 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.2315, allocations: 264 kB / 0.7337 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.398e-05/0.2316, allocations: 94.59 kB / 0.7338 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.2317, allocations: 70.02 kB / 0.7339 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.2319, allocations: 358.8 kB / 0.7342 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.2321, allocations: 96.59 kB / 0.7343 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.2324, allocations: 168.1 kB / 0.7345 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004312/0.2328, allocations: 291.6 kB / 0.7348 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2328, allocations: 0 / 0.7348 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000615/0.2335, allocations: 364.8 kB / 0.7351 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.2335, allocations: 9.703 kB / 0.7351 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.2335, allocations: 4 kB / 0.7351 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.2335, allocations: 4.047 kB / 0.7351 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.2338, allocations: 75.83 kB / 0.7352 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.2338, allocations: 7.984 kB / 0.7352 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.2341, allocations: 47.8 kB / 0.7353 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/0.2342, allocations: 12 kB / 0.7353 GB, free: 8.676 MB / 0.5294 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.0002216/0.2344, allocations: 189.6 kB / 0.7354 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.2345, allocations: 51.34 kB / 0.7355 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008335/0.2353, allocations: 468.9 kB / 0.7359 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.2354, allocations: 7.938 kB / 0.7359 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.2354, allocations: 0 / 0.7359 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006294/0.236, allocations: 0.5687 MB / 0.7365 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/0.2379, allocations: 1.152 MB / 0.7376 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2379, allocations: 0 / 0.7376 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.2381, allocations: 56.09 kB / 0.7377 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.2382, allocations: 4 kB / 0.7377 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.2382, allocations: 11.94 kB / 0.7377 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.2382, allocations: 4 kB / 0.7377 GB, free: 6 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.2382, allocations: 3.984 kB / 0.7377 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009323/0.2391, allocations: 0.6684 MB / 0.7384 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.2394, allocations: 172.4 kB / 0.7385 GB, free: 5.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.079e-05/0.2394, allocations: 8 kB / 0.7385 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.2397, allocations: 19.89 kB / 0.7385 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.2398, allocations: 31.91 kB / 0.7386 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.2398, allocations: 15.94 kB / 0.7386 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004303/0.2403, allocations: 346.8 kB / 0.7389 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2403, allocations: 0 / 0.7389 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006105/0.2409, allocations: 195.8 kB / 0.7391 GB, free: 4.504 MB / 0.5294 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.000624/0.2415, allocations: 289.7 kB / 0.7394 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004942/0.242, allocations: 291.8 kB / 0.7397 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.242, allocations: 4.062 kB / 0.7397 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002663/0.2423, allocations: 167.7 kB / 0.7398 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.2439, allocations: 316.1 kB / 0.7401 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.2457, allocations: 1.249 MB / 0.7414 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/0.2462, allocations: 0.8669 MB / 0.7422 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003926/0.2466, allocations: 124.6 kB / 0.7423 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.2467, allocations: 59.34 kB / 0.7424 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of SimCode: time 4.2e-07/0.2467, allocations: 0 / 0.7424 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of Templates: time 0.02131/0.268, allocations: 11.57 MB / 0.7537 GB, free: 5.711 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1)