Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.602/2.602, allocations: 287.5 MB / 303.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001405/0.001404, allocations: 174.1 kB / 371.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.041/2.041, allocations: 205.4 MB / 0.6305 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009703/0.0009701, allocations: 89.11 kB / 0.7438 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004718/0.000472, allocations: 11.69 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2106, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.608/6.818, allocations: 2.101 GB / 3.08 GB, free: 218.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/6.819, allocations: 95.95 kB / 3.08 GB, free: 218.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.991/8.809, allocations: 404.6 MB / 3.475 GB, free: 185.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.374e-06/8.809, allocations: 0 / 3.475 GB, free: 185.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000142/8.81, allocations: 43.05 kB / 3.475 GB, free: 185.7 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.005099/8.815, allocations: 1.725 MB / 3.477 GB, free: 183.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/8.815, allocations: 12.03 kB / 3.477 GB, free: 183.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004059/8.819, allocations: 394.6 kB / 3.478 GB, free: 183.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002858/8.822, allocations: 0.9823 MB / 3.478 GB, free: 182.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.58e-05/8.822, allocations: 103.5 kB / 3.479 GB, free: 182.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002398/8.822, allocations: 127.9 kB / 3.479 GB, free: 182.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003644/8.826, allocations: 1.444 MB / 3.48 GB, free: 180.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.174e-05/8.826, allocations: 3.938 kB / 3.48 GB, free: 180.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002125/8.826, allocations: 60 kB / 3.48 GB, free: 180.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.123e-05/8.826, allocations: 32 kB / 3.48 GB, free: 180.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004008/8.83, allocations: 1.516 MB / 3.482 GB, free: 179.1 MB / 0.948 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.01031/8.84, allocations: 4.856 MB / 3.486 GB, free: 174 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003598/8.844, allocations: 1.447 MB / 3.488 GB, free: 172.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/8.845, allocations: 468.1 kB / 3.488 GB, free: 172 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009008/8.846, allocations: 427.6 kB / 3.489 GB, free: 171.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00164/8.848, allocations: 0.6411 MB / 3.489 GB, free: 170.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=98): time 3.647e-06/8.848, allocations: 0 / 3.489 GB, free: 170.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=98): time 0.006276/8.854, allocations: 1.582 MB / 3.491 GB, free: 169.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.747e-05/8.854, allocations: 252.3 kB / 3.491 GB, free: 169 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001689/8.856, allocations: 0.8964 MB / 3.492 GB, free: 168.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002753/8.856, allocations: 45.7 kB / 3.492 GB, free: 168 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005345/8.857, allocations: 0.5661 MB / 3.493 GB, free: 167.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003665/8.857, allocations: 331.1 kB / 3.493 GB, free: 167.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.508e-05/8.857, allocations: 16 kB / 3.493 GB, free: 167.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.224e-05/8.858, allocations: 341.9 kB / 3.493 GB, free: 166.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/8.859, allocations: 361.8 kB / 3.494 GB, free: 166.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/8.86, allocations: 0.5454 MB / 3.494 GB, free: 165.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00246/8.863, allocations: 0.909 MB / 3.495 GB, free: 164.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/8.863, allocations: 3.938 kB / 3.495 GB, free: 164.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003971/8.867, allocations: 1.125 MB / 3.496 GB, free: 163.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/8.867, allocations: 8 kB / 3.496 GB, free: 163.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/8.867, allocations: 4 kB / 3.496 GB, free: 163.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000948/8.868, allocations: 93.12 kB / 3.496 GB, free: 163.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/8.87, allocations: 227.7 kB / 3.496 GB, free: 163.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/8.872, allocations: 1.541 MB / 3.498 GB, free: 161.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/8.874, allocations: 139 kB / 3.498 GB, free: 161.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/8.874, allocations: 35.97 kB / 3.498 GB, free: 161.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009656/8.875, allocations: 333.5 kB / 3.498 GB, free: 161.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003013/8.876, allocations: 114.6 kB / 3.499 GB, free: 161.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004728/8.88, allocations: 1.373 MB / 3.5 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/8.88, allocations: 15.94 kB / 3.5 GB, free: 159.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/8.88, allocations: 3.984 kB / 3.5 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/8.88, allocations: 3.984 kB / 3.5 GB, free: 159.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007155/8.888, allocations: 2.719 MB / 3.503 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/8.888, allocations: 3.938 kB / 3.503 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001805/8.889, allocations: 223.7 kB / 3.503 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008124/8.89, allocations: 84.77 kB / 3.503 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/8.89, allocations: 23.98 kB / 3.503 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002281/8.893, allocations: 1.559 MB / 3.504 GB, free: 154.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/8.893, allocations: 4.062 kB / 3.504 GB, free: 154.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003947/8.897, allocations: 1.257 MB / 3.506 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009608/8.898, allocations: 363.2 kB / 3.506 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002582/8.898, allocations: 24 kB / 3.506 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001648/8.9, allocations: 107.8 kB / 3.506 GB, free: 153.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/8.9, allocations: 64.91 kB / 3.506 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/8.9, allocations: 52.02 kB / 3.506 GB, free: 152.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001175/8.901, allocations: 0.6211 MB / 3.507 GB, free: 152.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.11e-07/8.901, allocations: 4 kB / 3.507 GB, free: 152.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002529/8.904, allocations: 0.5886 MB / 3.507 GB, free: 151.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003948/8.908, allocations: 1.865 MB / 3.509 GB, free: 150 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003374/8.911, allocations: 1.066 MB / 3.51 GB, free: 148.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/8.911, allocations: 4 kB / 3.51 GB, free: 148.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001718/8.913, allocations: 0.6523 MB / 3.511 GB, free: 148.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004251/8.917, allocations: 469.6 kB / 3.511 GB, free: 147.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008691/8.926, allocations: 2.949 MB / 3.514 GB, free: 144.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008611/8.927, allocations: 1.182 MB / 3.515 GB, free: 143.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002722/8.93, allocations: 381 kB / 3.516 GB, free: 143.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006907/8.93, allocations: 127.4 kB / 3.516 GB, free: 143.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.443e-06/8.93, allocations: 0 / 3.516 GB, free: 143.1 MB / 0.948 GB Notification: Performance of Templates: time 0.0874/9.018, allocations: 38.19 MB / 3.553 GB, free: 105.1 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)