Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.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.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.581/2.581, allocations: 287.5 MB / 303.2 MB, free: 8.332 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.001339/0.001339, allocations: 183.8 kB / 371.8 MB, free: 10.83 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.198/2.198, allocations: 205.4 MB / 0.6305 GB, free: 10.54 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.001307/0.001307, allocations: 87.64 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00105/0.00105, allocations: 14.75 kB / 0.8667 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2438, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.607/7.851, allocations: 2.358 GB / 3.337 GB, free: 331.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/7.851, allocations: 98.91 kB / 3.337 GB, free: 331.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 14.77/22.62, allocations: 2.823 GB / 6.161 GB, free: 109.5 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.707e-06/22.62, allocations: 3.75 kB / 6.161 GB, free: 109.5 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.003713/22.63, allocations: 374.1 kB / 6.161 GB, free: 109.5 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2944 * Number of variables: 2944 Notification: Performance of Generate backend data structure: time 0.0712/22.7, allocations: 14.53 MB / 6.175 GB, free: 100.4 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/22.7, allocations: 8.031 kB / 6.175 GB, free: 100.4 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03098/22.73, allocations: 3.019 MB / 6.178 GB, free: 97.36 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07074/22.8, allocations: 17.55 MB / 6.195 GB, free: 80.1 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001242/22.8, allocations: 0.8209 MB / 6.196 GB, free: 79.28 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005966/22.81, allocations: 1.109 MB / 6.197 GB, free: 78.18 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06343/22.87, allocations: 16.8 MB / 6.213 GB, free: 60.87 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007536/22.87, allocations: 47.55 kB / 6.214 GB, free: 60.82 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00537/22.88, allocations: 478.7 kB / 6.214 GB, free: 60.36 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006727/22.88, allocations: 0.5601 MB / 6.215 GB, free: 59.8 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06121/22.94, allocations: 15.09 MB / 6.229 GB, free: 44.68 MB / 0.9948 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 1.003/23.94, allocations: 62.65 MB / 6.29 GB, free: 97.92 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03848/23.98, allocations: 10.25 MB / 6.3 GB, free: 97.68 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02087/24, allocations: 5.621 MB / 6.306 GB, free: 97.61 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004065/24.01, allocations: 2.392 MB / 6.308 GB, free: 95.16 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0225/24.03, allocations: 5.785 MB / 6.314 GB, free: 94.95 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=706): time 1.501e-05/24.03, allocations: 0 / 6.314 GB, free: 94.95 MB / 0.9948 GB Notification: Performance of matching and sorting (n=706): time 0.06585/24.1, allocations: 13.96 MB / 6.328 GB, free: 94.6 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001955/24.1, allocations: 360.4 kB / 6.328 GB, free: 94.25 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0394/24.14, allocations: 11.21 MB / 6.339 GB, free: 93.69 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.002779/24.14, allocations: 173.7 kB / 6.339 GB, free: 93.66 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01145/24.15, allocations: 6.251 MB / 6.345 GB, free: 92.65 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.005421/24.16, allocations: 2.447 MB / 6.348 GB, free: 91.41 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001648/24.16, allocations: 174.3 kB / 6.348 GB, free: 91.41 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0009028/24.16, allocations: 0.6603 MB / 6.348 GB, free: 91.09 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01792/24.18, allocations: 4.629 MB / 6.353 GB, free: 91.06 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02124/24.2, allocations: 6.935 MB / 6.36 GB, free: 88.52 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03939/24.24, allocations: 12.01 MB / 6.371 GB, free: 86.04 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001163/24.24, allocations: 19.78 kB / 6.371 GB, free: 86.04 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.05418/24.29, allocations: 13.02 MB / 6.384 GB, free: 85.28 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001609/24.29, allocations: 2.052 MB / 6.386 GB, free: 82.81 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001992/24.29, allocations: 65.62 kB / 6.386 GB, free: 82.81 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/24.29, allocations: 192.8 kB / 6.386 GB, free: 82.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02095/24.32, allocations: 2.216 MB / 6.389 GB, free: 82.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003059/24.32, allocations: 1.668 MB / 6.39 GB, free: 81.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02445/24.34, allocations: 1.488 MB / 6.392 GB, free: 81.25 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002997/24.35, allocations: 425.5 kB / 6.392 GB, free: 81.25 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/24.35, allocations: 6.094 kB / 6.392 GB, free: 81.25 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04916/24.4, allocations: 12.07 MB / 6.404 GB, free: 81.06 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002324/24.4, allocations: 68.78 kB / 6.404 GB, free: 81.06 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/24.4, allocations: 189.2 kB / 6.404 GB, free: 81.05 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02083/24.42, allocations: 2.219 MB / 6.406 GB, free: 81.05 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002903/24.42, allocations: 1.67 MB / 6.408 GB, free: 79.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0229/24.44, allocations: 1.355 MB / 6.409 GB, free: 79.36 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003353/24.45, allocations: 430.6 kB / 6.41 GB, free: 79.36 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 293 * 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 (1095): * Single equations (assignments): 1094 * 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.01675/24.46, allocations: 4.81 MB / 6.414 GB, free: 79.13 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006335/24.47, allocations: 1.103 MB / 6.415 GB, free: 78.56 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05343/24.52, allocations: 12.06 MB / 6.427 GB, free: 78.08 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.762e-05/24.52, allocations: 67.72 kB / 6.427 GB, free: 78.08 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/24.52, allocations: 4.281 kB / 6.427 GB, free: 78.08 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03943/24.56, allocations: 9.218 MB / 6.436 GB, free: 77.54 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09854/24.66, allocations: 25.98 MB / 6.462 GB, free: 75.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.076e-05/24.66, allocations: 8.906 kB / 6.462 GB, free: 75.68 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01898/24.68, allocations: 1.784 MB / 6.463 GB, free: 75.64 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009631/24.68, allocations: 120.7 kB / 6.463 GB, free: 75.63 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002128/24.68, allocations: 243.4 kB / 6.464 GB, free: 75.63 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002444/24.69, allocations: 1.595 MB / 6.465 GB, free: 74.33 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-05/24.69, allocations: 16.28 kB / 6.465 GB, free: 74.33 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06237/24.75, allocations: 16.64 MB / 6.481 GB, free: 68.61 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01424/24.76, allocations: 2.893 MB / 6.484 GB, free: 67.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006439/24.77, allocations: 162.3 kB / 6.484 GB, free: 66.94 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02137/24.79, allocations: 0.8293 MB / 6.485 GB, free: 66.79 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0023/24.79, allocations: 456.3 kB / 6.486 GB, free: 66.71 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00292/24.8, allocations: 377.3 kB / 6.486 GB, free: 66.65 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.02382/24.82, allocations: 7.846 MB / 6.494 GB, free: 64.04 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6.41e-07/24.82, allocations: 3.438 kB / 6.494 GB, free: 64.04 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.03715/24.86, allocations: 7.063 MB / 6.501 GB, free: 62.61 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 40 (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,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol1.vol[4].dynBal.U,solCol1.vol[5].dynBal.U,solCol1.vol[6].dynBal.U,solCol1.vol[7].dynBal.U,solCol1.vol[8].dynBal.U,solCol1.vol[9].dynBal.U,solCol1.vol[10].dynBal.U,solCol1.vol[11].dynBal.U,solCol1.vol[12].dynBal.U,solCol1.vol[13].dynBal.U,solCol1.vol[14].dynBal.U,solCol1.vol[15].dynBal.U,solCol1.vol[16].dynBal.U,solCol1.vol[17].dynBal.U,solCol1.vol[18].dynBal.U,solCol1.vol[19].dynBal.U,solCol1.vol[20].dynBal.U,solCol1.vol[21].dynBal.U,solCol1.vol[22].dynBal.U,solCol1.vol[23].dynBal.U,solCol1.vol[24].dynBal.U,solCol1.vol[25].dynBal.U,solCol1.vol[26].dynBal.U,solCol1.vol[27].dynBal.U,TOut1.T,TIn1.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 (729): * Single equations (assignments): 716 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.00755/24.86, allocations: 2.13 MB / 6.503 GB, free: 62.06 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.06277/24.93, allocations: 17.3 MB / 6.52 GB, free: 56.36 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.099e-05/24.93, allocations: 12.36 kB / 6.52 GB, free: 56.35 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.01949/24.95, allocations: 5.052 MB / 6.525 GB, free: 54.6 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09141/25.04, allocations: 6.956 MB / 6.531 GB, free: 53.17 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09582/25.13, allocations: 34.61 MB / 6.565 GB, free: 27.5 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0219/25.16, allocations: 8.387 MB / 6.573 GB, free: 21.21 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.05004/25.21, allocations: 7.055 MB / 6.58 GB, free: 16.41 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00869/25.22, allocations: 1.08 MB / 6.581 GB, free: 15.48 MB / 0.9948 GB Notification: Performance of SimCode: time 1.653e-06/25.22, allocations: 0 / 6.581 GB, free: 15.48 MB / 0.9948 GB Notification: Performance of Templates: time 2.376/27.59, allocations: 247.4 MB / 6.823 GB, free: 112.4 MB / 1.026 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1)