Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.312/2.312, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001433, allocations: 183.1 kB / 326.2 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.405/2.405, allocations: 205.4 MB / 0.5772 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008931/0.0008928, allocations: 97.16 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004775/0.0004781, allocations: 12.28 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2069, allocations: 106.3 MB / 0.8995 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.152/7.359, allocations: 2.219 GB / 3.118 GB, free: 242 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/7.359, allocations: 95.53 kB / 3.118 GB, free: 242 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.995/9.354, allocations: 395.1 MB / 3.504 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.735e-06/9.354, allocations: 0 / 3.504 GB, free: 212.9 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001664/9.354, allocations: 45.06 kB / 3.504 GB, free: 212.9 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.005865/9.36, allocations: 1.758 MB / 3.506 GB, free: 212.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/9.36, allocations: 11.03 kB / 3.506 GB, free: 212.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004353/9.365, allocations: 402.9 kB / 3.506 GB, free: 212 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00324/9.368, allocations: 0.9622 MB / 3.507 GB, free: 211.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/9.368, allocations: 99.23 kB / 3.507 GB, free: 211.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003024/9.368, allocations: 125.2 kB / 3.508 GB, free: 211.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004066/9.373, allocations: 1.45 MB / 3.509 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.115e-05/9.373, allocations: 4.5 kB / 3.509 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002438/9.373, allocations: 60.75 kB / 3.509 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.038e-05/9.373, allocations: 34.12 kB / 3.509 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00498/9.378, allocations: 1.515 MB / 3.511 GB, free: 211.5 MB / 0.8855 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.01349/9.392, allocations: 4.976 MB / 3.515 GB, free: 209.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003999/9.396, allocations: 1.292 MB / 3.517 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001388/9.397, allocations: 474.3 kB / 3.517 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009576/9.398, allocations: 427 kB / 3.518 GB, free: 208.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001733/9.4, allocations: 0.6426 MB / 3.518 GB, free: 208.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=98): time 4.559e-06/9.4, allocations: 0 / 3.518 GB, free: 208.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=98): time 0.006667/9.406, allocations: 1.59 MB / 3.52 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.113e-05/9.407, allocations: 243.5 kB / 3.52 GB, free: 208.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/9.408, allocations: 0.908 MB / 3.521 GB, free: 208 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002813/9.409, allocations: 44.61 kB / 3.521 GB, free: 208 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005686/9.409, allocations: 0.5632 MB / 3.521 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004084/9.41, allocations: 335.2 kB / 3.522 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.883e-05/9.41, allocations: 17.22 kB / 3.522 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.345e-05/9.41, allocations: 340.3 kB / 3.522 GB, free: 207.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/9.411, allocations: 358.8 kB / 3.522 GB, free: 207.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/9.412, allocations: 0.5589 MB / 3.523 GB, free: 207.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/9.414, allocations: 436.1 kB / 3.523 GB, free: 207.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/9.414, allocations: 3.938 kB / 3.523 GB, free: 207.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.004113/9.418, allocations: 1.123 MB / 3.525 GB, free: 207 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/9.418, allocations: 3.406 kB / 3.525 GB, free: 207 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/9.418, allocations: 3.406 kB / 3.525 GB, free: 207 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/9.419, allocations: 97.75 kB / 3.525 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/9.421, allocations: 222.8 kB / 3.525 GB, free: 206.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00266/9.424, allocations: 1.541 MB / 3.526 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/9.426, allocations: 137.4 kB / 3.526 GB, free: 205.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/9.426, allocations: 44.67 kB / 3.527 GB, free: 205.6 MB / 0.8855 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.001037/9.427, allocations: 329.6 kB / 3.527 GB, free: 205.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003857/9.427, allocations: 118.7 kB / 3.527 GB, free: 205.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005001/9.432, allocations: 1.376 MB / 3.528 GB, free: 205.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/9.432, allocations: 10.56 kB / 3.528 GB, free: 205.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/9.432, allocations: 2.219 kB / 3.528 GB, free: 205.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.865e-05/9.432, allocations: 7.781 kB / 3.528 GB, free: 205.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007275/9.44, allocations: 2.677 MB / 3.531 GB, free: 204.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/9.44, allocations: 0 / 3.531 GB, free: 204.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001925/9.442, allocations: 223.1 kB / 3.531 GB, free: 204.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008585/9.443, allocations: 88.33 kB / 3.531 GB, free: 204.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/9.443, allocations: 29.5 kB / 3.531 GB, free: 204.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002381/9.445, allocations: 1.564 MB / 3.533 GB, free: 203.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/9.445, allocations: 0 / 3.533 GB, free: 203.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004249/9.449, allocations: 1.261 MB / 3.534 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/9.451, allocations: 376 kB / 3.534 GB, free: 203.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002915/9.451, allocations: 21.62 kB / 3.534 GB, free: 203.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/9.453, allocations: 106 kB / 3.534 GB, free: 203.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002315/9.453, allocations: 72.23 kB / 3.535 GB, free: 203.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001602/9.453, allocations: 50.3 kB / 3.535 GB, free: 203.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001325/9.454, allocations: 0.6388 MB / 3.535 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.11e-07/9.455, allocations: 0 / 3.535 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002719/9.457, allocations: 0.5923 MB / 3.536 GB, free: 203 MB / 0.8855 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.004049/9.461, allocations: 1.865 MB / 3.538 GB, free: 202.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003507/9.465, allocations: 1.071 MB / 3.539 GB, free: 202.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/9.465, allocations: 0 / 3.539 GB, free: 202.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001887/9.467, allocations: 0.6492 MB / 3.539 GB, free: 202.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004091/9.471, allocations: 486.5 kB / 3.54 GB, free: 202.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00837/9.479, allocations: 2.988 MB / 3.543 GB, free: 201 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008618/9.48, allocations: 1.179 MB / 3.544 GB, free: 200.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00262/9.483, allocations: 392.3 kB / 3.544 GB, free: 200.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006078/9.484, allocations: 130.2 kB / 3.544 GB, free: 200.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.242e-06/9.484, allocations: 3.812 kB / 3.544 GB, free: 200.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.0869/9.57, allocations: 38.02 MB / 3.581 GB, free: 180.4 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_7.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)