Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular") translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.61/2.61, allocations: 285 MB / 292.5 MB, free: 10.53 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001457/0.001457, allocations: 180.9 kB / 360.7 MB, free: 7.246 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.948/1.948, allocations: 205.2 MB / 0.6192 GB, free: 12.12 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001062/0.001062, allocations: 102.2 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.732e-05/1.741e-05, allocations: 0 / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8357/0.8357, allocations: 115.3 MB / 0.9634 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.993/7.829, allocations: 2.357 GB / 3.32 GB, free: 125 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/7.829, allocations: 90.5 kB / 3.32 GB, free: 125 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.256/13.09, allocations: 0.9202 GB / 4.241 GB, free: 170.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.883e-06/13.09, allocations: 2.125 kB / 4.241 GB, free: 170.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0009295/13.09, allocations: 128.8 kB / 4.241 GB, free: 170.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: 967 * Number of variables: 967 Notification: Performance of Generate backend data structure: time 0.01982/13.11, allocations: 4.251 MB / 4.245 GB, free: 169.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/13.11, allocations: 8.812 kB / 4.245 GB, free: 169.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01501/13.12, allocations: 1.257 MB / 4.246 GB, free: 169.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02445/13.15, allocations: 5.392 MB / 4.251 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003032/13.15, allocations: 118.3 kB / 4.251 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001858/13.15, allocations: 216 kB / 4.252 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01491/13.16, allocations: 4.353 MB / 4.256 GB, free: 168.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01854/13.18, allocations: 4.506 MB / 4.26 GB, free: 167.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002647/13.18, allocations: 18.78 kB / 4.26 GB, free: 167.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001684/13.18, allocations: 6.406 kB / 4.26 GB, free: 167.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002911/13.18, allocations: 181.6 kB / 4.26 GB, free: 167.8 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.05355/13.24, allocations: 18.87 MB / 4.279 GB, free: 161.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007928/13.25, allocations: 3.139 MB / 4.282 GB, free: 161.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004099/13.25, allocations: 1.604 MB / 4.284 GB, free: 161.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002857/13.25, allocations: 1.86 MB / 4.285 GB, free: 159.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005162/13.26, allocations: 1.779 MB / 4.287 GB, free: 159.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=267): time 6.943e-06/13.26, allocations: 0 / 4.287 GB, free: 159.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=267): time 0.1286/13.39, allocations: 7.331 MB / 4.294 GB, free: 158.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/13.39, allocations: 285.2 kB / 4.295 GB, free: 158.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008157/13.39, allocations: 2.978 MB / 4.297 GB, free: 158.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009756/13.4, allocations: 29.42 kB / 4.297 GB, free: 158.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002983/13.4, allocations: 1.961 MB / 4.299 GB, free: 157.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001841/13.4, allocations: 0.8686 MB / 4.3 GB, free: 156.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004807/13.4, allocations: 0 / 4.3 GB, free: 156.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003248/13.4, allocations: 427.5 kB / 4.301 GB, free: 156.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003688/13.41, allocations: 1.287 MB / 4.302 GB, free: 156.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004519/13.41, allocations: 1.954 MB / 4.304 GB, free: 155.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3393/13.75, allocations: 13.18 MB / 4.317 GB, free: 155.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.909e-05/13.75, allocations: 3.969 kB / 4.317 GB, free: 155.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.3651/14.11, allocations: 15.2 MB / 4.332 GB, free: 154.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001552/14.12, allocations: 7.292 MB / 4.339 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.408e-05/14.12, allocations: 19.11 kB / 4.339 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/14.12, allocations: 114.2 kB / 4.339 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008012/14.13, allocations: 0.8087 MB / 4.34 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002819/14.13, allocations: 2.096 MB / 4.342 GB, free: 145.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007975/14.14, allocations: 436.3 kB / 4.342 GB, free: 145 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001002/14.14, allocations: 145.4 kB / 4.342 GB, free: 145 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/14.14, allocations: 3.688 kB / 4.342 GB, free: 145 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.346/14.48, allocations: 14.84 MB / 4.357 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.736e-05/14.48, allocations: 19.16 kB / 4.357 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009546/14.48, allocations: 120.7 kB / 4.357 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007697/14.49, allocations: 0.7954 MB / 4.358 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002494/14.49, allocations: 1.513 MB / 4.359 GB, free: 142.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00769/14.5, allocations: 395.6 kB / 4.359 GB, free: 142.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/14.5, allocations: 147 kB / 4.36 GB, free: 142.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (370): * Single equations (assignments): 368 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.001149/14.5, allocations: 172.9 kB / 4.36 GB, free: 142.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001663/14.51, allocations: 361.2 kB / 4.36 GB, free: 142.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1288/14.64, allocations: 8.059 MB / 4.368 GB, free: 141.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-05/14.64, allocations: 27.47 kB / 4.368 GB, free: 141.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/14.64, allocations: 0 / 4.368 GB, free: 141.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1249/14.76, allocations: 7.275 MB / 4.375 GB, free: 141.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.141/14.9, allocations: 12.28 MB / 4.387 GB, free: 140.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.739e-05/14.9, allocations: 0 / 4.387 GB, free: 140.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006842/14.91, allocations: 0.6365 MB / 4.388 GB, free: 140.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000903/14.91, allocations: 90.02 kB / 4.388 GB, free: 140.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007502/14.91, allocations: 61.08 kB / 4.388 GB, free: 140.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002496/14.91, allocations: 2.089 MB / 4.39 GB, free: 138.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/14.91, allocations: 7.891 kB / 4.39 GB, free: 138.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1311/15.04, allocations: 9.581 MB / 4.399 GB, free: 136.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004444/15.05, allocations: 1.051 MB / 4.4 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001751/15.05, allocations: 7.906 kB / 4.4 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007432/15.06, allocations: 284 kB / 4.401 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008625/15.06, allocations: 186.7 kB / 4.401 GB, free: 136.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005939/15.06, allocations: 131 kB / 4.401 GB, free: 136.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005491/15.06, allocations: 2.29 MB / 4.403 GB, free: 135.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.12e-07/15.06, allocations: 0 / 4.403 GB, free: 135.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01281/15.08, allocations: 2.322 MB / 4.405 GB, free: 134.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.004593/15.08, allocations: 1.634 MB / 4.407 GB, free: 134.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01477/15.1, allocations: 5.343 MB / 4.412 GB, free: 132.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-05/15.1, allocations: 4.391 kB / 4.412 GB, free: 132.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004548/15.1, allocations: 1.694 MB / 4.414 GB, free: 130.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01525/15.12, allocations: 1.748 MB / 4.416 GB, free: 129.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02295/15.14, allocations: 7.619 MB / 4.423 GB, free: 122.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004538/15.14, allocations: 3.12 MB / 4.426 GB, free: 120.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01737/15.16, allocations: 2.748 MB / 4.429 GB, free: 118.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002132/15.16, allocations: 309.7 kB / 4.429 GB, free: 118.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.112e-06/15.16, allocations: 0 / 4.429 GB, free: 118.6 MB / 0.948 GB Notification: Performance of Templates: time 0.1912/15.35, allocations: 79.44 MB / 4.507 GB, free: 46.28 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1)