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.718/2.718, allocations: 287.5 MB / 302.4 MB, free: 8.305 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.002255/0.002255, allocations: 185 kB / 371 MB, free: 10.79 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 2.208/2.208, allocations: 205.4 MB / 0.6297 GB, free: 10.51 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001173/0.001172, allocations: 102 kB / 0.743 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004901/0.0004899, allocations: 11 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2156, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.675/7.89, allocations: 2.358 GB / 3.336 GB, free: 263.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003408/7.891, allocations: 104.1 kB / 3.336 GB, free: 263.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.855/12.75, allocations: 0.9286 GB / 4.265 GB, free: 79.72 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.376e-06/12.75, allocations: 3.984 kB / 4.265 GB, free: 79.72 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000833/12.75, allocations: 131.8 kB / 4.265 GB, free: 79.59 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.02149/12.77, allocations: 5.068 MB / 4.27 GB, free: 74.45 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/12.77, allocations: 12.03 kB / 4.27 GB, free: 74.43 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01338/12.78, allocations: 1.262 MB / 4.271 GB, free: 73.16 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02111/12.8, allocations: 5.418 MB / 4.276 GB, free: 67.68 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004155/12.8, allocations: 279.4 kB / 4.277 GB, free: 67.41 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001934/12.81, allocations: 371.9 kB / 4.277 GB, free: 67.04 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02108/12.83, allocations: 5.353 MB / 4.282 GB, free: 61.52 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002382/12.83, allocations: 11.94 kB / 4.282 GB, free: 61.51 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001559/12.83, allocations: 164 kB / 4.282 GB, free: 61.35 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002086/12.83, allocations: 179.1 kB / 4.282 GB, free: 61.18 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02131/12.85, allocations: 5.215 MB / 4.288 GB, free: 55.95 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.0492/12.9, allocations: 19.6 MB / 4.307 GB, free: 35.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01347/12.91, allocations: 3.643 MB / 4.31 GB, free: 32.06 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002872/12.92, allocations: 1.864 MB / 4.312 GB, free: 29.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008094/12.92, allocations: 2.054 MB / 4.314 GB, free: 27.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=267): time 7.233e-06/12.92, allocations: 0 / 4.314 GB, free: 27.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=267): time 0.02401/12.95, allocations: 5.097 MB / 4.319 GB, free: 22.52 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/12.95, allocations: 287.1 kB / 4.319 GB, free: 22.18 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009183/12.96, allocations: 3.468 MB / 4.323 GB, free: 18.73 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009835/12.96, allocations: 77.7 kB / 4.323 GB, free: 18.64 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002866/12.96, allocations: 1.968 MB / 4.325 GB, free: 16.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001716/12.96, allocations: 0.9127 MB / 4.326 GB, free: 15.73 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005034/12.96, allocations: 56 kB / 4.326 GB, free: 15.68 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002686/12.96, allocations: 428 kB / 4.326 GB, free: 15.25 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006628/12.97, allocations: 1.544 MB / 4.328 GB, free: 13.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007476/12.98, allocations: 2.241 MB / 4.33 GB, free: 11.19 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007526/12.99, allocations: 1.89 MB / 4.332 GB, free: 9.285 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-05/12.99, allocations: 4 kB / 4.332 GB, free: 9.281 MB / 0.948 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.01846/13, allocations: 4.367 MB / 4.336 GB, free: 4.863 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.7292/13.73, allocations: 7.405 MB / 4.343 GB, free: 161.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.891e-05/13.73, allocations: 16.69 kB / 4.343 GB, free: 161.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/13.73, allocations: 113 kB / 4.343 GB, free: 161.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0106/13.75, allocations: 0.8113 MB / 4.344 GB, free: 161.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005456/13.75, allocations: 2.179 MB / 4.346 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01245/13.76, allocations: 0.5157 MB / 4.347 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001515/13.77, allocations: 142.5 kB / 4.347 GB, free: 159.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/13.77, allocations: 3.844 kB / 4.347 GB, free: 159.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.029/13.79, allocations: 4.027 MB / 4.351 GB, free: 159.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001176/13.79, allocations: 19.16 kB / 4.351 GB, free: 159.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001633/13.8, allocations: 112.6 kB / 4.351 GB, free: 159.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01257/13.81, allocations: 0.7998 MB / 4.352 GB, free: 159.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004363/13.81, allocations: 1.584 MB / 4.353 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01172/13.82, allocations: 496.2 kB / 4.354 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001503/13.83, allocations: 148.2 kB / 4.354 GB, free: 158.1 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 () * Number of clocked 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.007695/13.83, allocations: 1.502 MB / 4.355 GB, free: 158 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002872/13.84, allocations: 383 kB / 4.356 GB, free: 158 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02824/13.87, allocations: 4.366 MB / 4.36 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.31e-05/13.87, allocations: 29.05 kB / 4.36 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.031e-05/13.87, allocations: 4.656 kB / 4.36 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02426/13.89, allocations: 3.488 MB / 4.363 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0605/13.95, allocations: 8.996 MB / 4.372 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.61e-05/13.95, allocations: 0 / 4.372 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009949/13.96, allocations: 0.6405 MB / 4.373 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001341/13.96, allocations: 95.44 kB / 4.373 GB, free: 156.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001106/13.96, allocations: 92.53 kB / 4.373 GB, free: 156.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004347/13.97, allocations: 2.161 MB / 4.375 GB, free: 155 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-06/13.97, allocations: 3.375 kB / 4.375 GB, free: 155 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03491/14, allocations: 6.081 MB / 4.381 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006393/14.01, allocations: 1.077 MB / 4.382 GB, free: 154.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00299/14.01, allocations: 61.78 kB / 4.382 GB, free: 154.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009791/14.02, allocations: 336.4 kB / 4.382 GB, free: 154.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001252/14.02, allocations: 176 kB / 4.383 GB, free: 154.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001199/14.02, allocations: 134 kB / 4.383 GB, free: 154.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01175/14.04, allocations: 2.731 MB / 4.385 GB, free: 153.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.22e-07/14.04, allocations: 0 / 4.385 GB, free: 153.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01775/14.05, allocations: 2.438 MB / 4.388 GB, free: 153.8 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) * Number of clocked states: 0 () * 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.006779/14.06, allocations: 1.636 MB / 4.389 GB, free: 153.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0319/14.09, allocations: 6.104 MB / 4.395 GB, free: 153.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.86e-05/14.09, allocations: 3.734 kB / 4.395 GB, free: 153.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.009043/14.1, allocations: 1.962 MB / 4.397 GB, free: 153.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01812/14.12, allocations: 2.024 MB / 4.399 GB, free: 153.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03002/14.15, allocations: 11.16 MB / 4.41 GB, free: 149.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004887/14.16, allocations: 3.123 MB / 4.413 GB, free: 148.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01363/14.17, allocations: 2.064 MB / 4.415 GB, free: 148.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003061/14.17, allocations: 392.2 kB / 4.415 GB, free: 148.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.573e-06/14.17, allocations: 0 / 4.415 GB, free: 148.3 MB / 0.948 GB Notification: Performance of Templates: time 0.2203/14.39, allocations: 90.9 MB / 4.504 GB, free: 143 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)