Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular") translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.89/1.89, allocations: 288.3 MB / 303.2 MB, free: 8.152 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.001337/0.001337, allocations: 177 kB / 371.8 MB, free: 10.27 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.319/2.319, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.001146/0.001145, allocations: 102.8 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004908/0.0004911, allocations: 11.56 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3925, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.861/7.254, allocations: 2.358 GB / 3.337 GB, free: 262.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/7.254, allocations: 92.62 kB / 3.337 GB, free: 262.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.276/10.53, allocations: 0.9286 GB / 4.266 GB, free: 73.83 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.585e-06/10.53, allocations: 3.938 kB / 4.266 GB, free: 73.82 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0007534/10.53, allocations: 123.9 kB / 4.266 GB, free: 73.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.01713/10.55, allocations: 5.079 MB / 4.271 GB, free: 68.55 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/10.55, allocations: 12.03 kB / 4.271 GB, free: 68.54 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008829/10.56, allocations: 1.258 MB / 4.272 GB, free: 67.27 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01423/10.57, allocations: 5.417 MB / 4.277 GB, free: 61.79 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002645/10.57, allocations: 283.4 kB / 4.278 GB, free: 61.51 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00145/10.57, allocations: 371.9 kB / 4.278 GB, free: 61.14 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.011/10.58, allocations: 5.353 MB / 4.283 GB, free: 55.62 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001056/10.58, allocations: 11.89 kB / 4.283 GB, free: 55.61 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005353/10.59, allocations: 160 kB / 4.283 GB, free: 55.46 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000125/10.59, allocations: 179.1 kB / 4.284 GB, free: 55.28 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01164/10.6, allocations: 5.219 MB / 4.289 GB, free: 50.05 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.03461/10.63, allocations: 19.6 MB / 4.308 GB, free: 29.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006691/10.64, allocations: 3.632 MB / 4.311 GB, free: 26.18 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001745/10.64, allocations: 1.864 MB / 4.313 GB, free: 23.92 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00402/10.64, allocations: 2.058 MB / 4.315 GB, free: 21.81 MB / 0.948 GB Notification: Performance of pre-optimization done (n=267): time 5.25e-06/10.64, allocations: 0 / 4.315 GB, free: 21.81 MB / 0.948 GB Notification: Performance of matching and sorting (n=267): time 0.01156/10.66, allocations: 5.097 MB / 4.32 GB, free: 16.64 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.553e-05/10.66, allocations: 291.1 kB / 4.32 GB, free: 16.29 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005594/10.66, allocations: 3.464 MB / 4.324 GB, free: 12.84 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007638/10.66, allocations: 81.7 kB / 4.324 GB, free: 12.75 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001665/10.66, allocations: 1.968 MB / 4.326 GB, free: 10.77 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00122/10.67, allocations: 0.901 MB / 4.327 GB, free: 9.852 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/10.67, allocations: 56 kB / 4.327 GB, free: 9.797 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001592/10.67, allocations: 428 kB / 4.327 GB, free: 9.371 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003104/10.67, allocations: 1.548 MB / 4.329 GB, free: 7.82 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003503/10.67, allocations: 2.237 MB / 4.331 GB, free: 5.305 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003405/10.68, allocations: 1.89 MB / 4.333 GB, free: 3.398 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/10.68, allocations: 4 kB / 4.333 GB, free: 3.395 MB / 0.948 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.6508/11.33, allocations: 4.362 MB / 4.337 GB, free: 158.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001357/11.33, allocations: 7.412 MB / 4.344 GB, free: 150.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.363e-05/11.33, allocations: 17.56 kB / 4.344 GB, free: 150.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007792/11.33, allocations: 117.5 kB / 4.344 GB, free: 150.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00511/11.33, allocations: 0.8101 MB / 4.345 GB, free: 150.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/11.34, allocations: 2.168 MB / 4.347 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005524/11.34, allocations: 0.524 MB / 4.348 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007989/11.34, allocations: 144.7 kB / 4.348 GB, free: 148.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/11.34, allocations: 5.844 kB / 4.348 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0101/11.35, allocations: 4.02 MB / 4.352 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.557e-05/11.35, allocations: 17.06 kB / 4.352 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005969/11.35, allocations: 122.7 kB / 4.352 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004055/11.36, allocations: 0.7965 MB / 4.353 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/11.36, allocations: 1.582 MB / 4.354 GB, free: 147.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005051/11.36, allocations: 492.3 kB / 4.355 GB, free: 147.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006032/11.36, allocations: 148.6 kB / 4.355 GB, free: 147.2 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.004063/11.37, allocations: 1.503 MB / 4.356 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001575/11.37, allocations: 391.8 kB / 4.357 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/11.38, allocations: 4.359 MB / 4.361 GB, free: 146.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.413e-05/11.38, allocations: 34.56 kB / 4.361 GB, free: 146.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/11.38, allocations: 0 / 4.361 GB, free: 146.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007987/11.39, allocations: 3.486 MB / 4.364 GB, free: 146.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02492/11.41, allocations: 8.997 MB / 4.373 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/11.41, allocations: 1.406 kB / 4.373 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003782/11.42, allocations: 0.6411 MB / 4.374 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005929/11.42, allocations: 90.44 kB / 4.374 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004488/11.42, allocations: 87.72 kB / 4.374 GB, free: 145.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001954/11.42, allocations: 2.165 MB / 4.376 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/11.42, allocations: 2 kB / 4.376 GB, free: 144.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01432/11.44, allocations: 6.081 MB / 4.382 GB, free: 143.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004413/11.44, allocations: 1.086 MB / 4.383 GB, free: 143.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001527/11.44, allocations: 56.16 kB / 4.383 GB, free: 143.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004767/11.45, allocations: 336.3 kB / 4.384 GB, free: 143.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005207/11.45, allocations: 172.8 kB / 4.384 GB, free: 143.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004916/11.45, allocations: 134.6 kB / 4.384 GB, free: 143.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006144/11.45, allocations: 2.741 MB / 4.387 GB, free: 143 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.51e-07/11.45, allocations: 0 / 4.387 GB, free: 143 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01324/11.47, allocations: 2.435 MB / 4.389 GB, free: 142.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.005194/11.47, allocations: 1.64 MB / 4.39 GB, free: 142.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0195/11.49, allocations: 6.1 MB / 4.396 GB, free: 142.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.578e-05/11.49, allocations: 7.891 kB / 4.396 GB, free: 142.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005163/11.5, allocations: 1.954 MB / 4.398 GB, free: 142.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01202/11.51, allocations: 2.037 MB / 4.4 GB, free: 142.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02435/11.53, allocations: 11.15 MB / 4.411 GB, free: 138.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003258/11.54, allocations: 3.12 MB / 4.414 GB, free: 137.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0084/11.55, allocations: 2.062 MB / 4.416 GB, free: 137.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001614/11.55, allocations: 399.4 kB / 4.417 GB, free: 137.4 MB / 0.948 GB Notification: Performance of SimCode: time 9.22e-07/11.55, allocations: 0 / 4.417 GB, free: 137.4 MB / 0.948 GB Notification: Performance of Templates: time 0.1432/11.69, allocations: 90.9 MB / 4.505 GB, free: 131.9 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1)