Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.714/1.714, allocations: 288.4 MB / 304.3 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.001127/0.001127, allocations: 188.4 kB / 373 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.977/1.977, allocations: 205.4 MB / 0.6317 GB, free: 9.895 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.0008183/0.0008185, allocations: 94.3 kB / 0.745 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006303/0.0006307, allocations: 16.34 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2832, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.968/6.251, allocations: 2.358 GB / 3.339 GB, free: 333.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/6.252, allocations: 99.72 kB / 3.339 GB, free: 333.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.166/9.418, allocations: 0.9248 GB / 4.263 GB, free: 147.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.218e-06/9.418, allocations: 0 / 4.263 GB, free: 147.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001064/9.419, allocations: 131.5 kB / 4.264 GB, free: 147.3 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.0196/9.439, allocations: 5.037 MB / 4.269 GB, free: 142.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/9.439, allocations: 12.03 kB / 4.269 GB, free: 142.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008486/9.448, allocations: 1.259 MB / 4.27 GB, free: 141 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01327/9.461, allocations: 5.283 MB / 4.275 GB, free: 135.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000331/9.461, allocations: 284.3 kB / 4.275 GB, free: 135.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001927/9.463, allocations: 374.6 kB / 4.276 GB, free: 135.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01234/9.476, allocations: 5.382 MB / 4.281 GB, free: 129.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.727e-05/9.476, allocations: 19.84 kB / 4.281 GB, free: 129.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005728/9.476, allocations: 163.9 kB / 4.281 GB, free: 129.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001518/9.477, allocations: 171.2 kB / 4.281 GB, free: 129.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01106/9.488, allocations: 5.239 MB / 4.286 GB, free: 124 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.03034/9.518, allocations: 19.18 MB / 4.305 GB, free: 104.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006788/9.525, allocations: 3.564 MB / 4.308 GB, free: 100.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003397/9.528, allocations: 1.882 MB / 4.31 GB, free: 98.94 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001742/9.53, allocations: 1.86 MB / 4.312 GB, free: 96.71 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00402/9.534, allocations: 2.069 MB / 4.314 GB, free: 94.59 MB / 0.948 GB Notification: Performance of pre-optimization done (n=264): time 6.312e-06/9.534, allocations: 0 / 4.314 GB, free: 94.59 MB / 0.948 GB Notification: Performance of matching and sorting (n=264): time 0.01271/9.547, allocations: 5.102 MB / 4.319 GB, free: 89.41 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/9.547, allocations: 291.1 kB / 4.319 GB, free: 89.06 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005815/9.553, allocations: 3.604 MB / 4.323 GB, free: 85.47 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006776/9.554, allocations: 81.7 kB / 4.323 GB, free: 85.39 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001796/9.555, allocations: 1.967 MB / 4.325 GB, free: 83.41 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001152/9.557, allocations: 0.8966 MB / 4.326 GB, free: 82.52 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/9.557, allocations: 60 kB / 4.326 GB, free: 82.46 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001651/9.557, allocations: 424 kB / 4.326 GB, free: 82.04 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003327/9.56, allocations: 1.563 MB / 4.328 GB, free: 80.47 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003682/9.564, allocations: 2.276 MB / 4.33 GB, free: 77.91 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006708/9.571, allocations: 3.9 MB / 4.334 GB, free: 73.75 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-05/9.571, allocations: 7.938 kB / 4.334 GB, free: 73.74 MB / 0.948 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.009789/9.58, allocations: 4.403 MB / 4.338 GB, free: 69.29 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003918/9.581, allocations: 0.5995 MB / 4.339 GB, free: 68.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.588e-05/9.581, allocations: 19.98 kB / 4.339 GB, free: 68.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006095/9.582, allocations: 112.7 kB / 4.339 GB, free: 68.31 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003548/9.585, allocations: 0.7683 MB / 4.34 GB, free: 67.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/9.587, allocations: 1.567 MB / 4.341 GB, free: 65.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005419/9.592, allocations: 0.512 MB / 4.342 GB, free: 65.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004809/9.593, allocations: 147.9 kB / 4.342 GB, free: 65.18 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/9.593, allocations: 4 kB / 4.342 GB, free: 65.18 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008495/9.601, allocations: 4.057 MB / 4.346 GB, free: 61.08 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.424e-05/9.602, allocations: 20.97 kB / 4.346 GB, free: 61.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005269/9.602, allocations: 120.9 kB / 4.346 GB, free: 60.94 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003567/9.606, allocations: 0.7683 MB / 4.347 GB, free: 60.17 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001744/9.607, allocations: 1.564 MB / 4.348 GB, free: 58.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005279/9.613, allocations: 480.9 kB / 4.349 GB, free: 57.99 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005204/9.613, allocations: 143.9 kB / 4.349 GB, free: 57.85 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 (371): * Single equations (assignments): 370 * 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.004351/9.618, allocations: 1.513 MB / 4.35 GB, free: 56.33 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002005/9.62, allocations: 379.4 kB / 4.351 GB, free: 55.95 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01181/9.631, allocations: 4.353 MB / 4.355 GB, free: 51.54 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.542e-05/9.632, allocations: 35.94 kB / 4.355 GB, free: 51.51 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/9.632, allocations: 0 / 4.355 GB, free: 51.51 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007194/9.639, allocations: 3.499 MB / 4.358 GB, free: 47.92 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02127/9.66, allocations: 9.205 MB / 4.367 GB, free: 38.59 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.699e-05/9.66, allocations: 8.031 kB / 4.367 GB, free: 38.58 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003232/9.663, allocations: 0.6514 MB / 4.368 GB, free: 37.93 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005285/9.664, allocations: 92.78 kB / 4.368 GB, free: 37.83 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003016/9.664, allocations: 95.91 kB / 4.368 GB, free: 37.74 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/9.666, allocations: 1.559 MB / 4.37 GB, free: 36.04 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/9.666, allocations: 11.98 kB / 4.37 GB, free: 36.03 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01272/9.679, allocations: 6.064 MB / 4.376 GB, free: 29.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003829/9.683, allocations: 1.046 MB / 4.377 GB, free: 28.73 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001455/9.684, allocations: 59.98 kB / 4.377 GB, free: 28.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00442/9.688, allocations: 310.7 kB / 4.377 GB, free: 28.38 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004197/9.689, allocations: 185.7 kB / 4.377 GB, free: 28.19 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003891/9.689, allocations: 135.9 kB / 4.377 GB, free: 28.06 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005116/9.694, allocations: 2.53 MB / 4.38 GB, free: 25.55 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.31e-07/9.694, allocations: 0 / 4.38 GB, free: 25.55 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01413/9.709, allocations: 2.431 MB / 4.382 GB, free: 23.11 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (283): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.005362/9.714, allocations: 1.63 MB / 4.384 GB, free: 21.68 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01642/9.731, allocations: 6.123 MB / 4.39 GB, free: 15.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.097e-05/9.731, allocations: 1 kB / 4.39 GB, free: 15.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004561/9.735, allocations: 1.964 MB / 4.392 GB, free: 13.52 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01663/9.752, allocations: 2.042 MB / 4.394 GB, free: 11.49 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02627/9.778, allocations: 11.3 MB / 4.405 GB, free: 104 kB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.6236/10.4, allocations: 3.025 MB / 4.408 GB, free: 183.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01006/10.41, allocations: 2.046 MB / 4.41 GB, free: 183.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002046/10.41, allocations: 394 kB / 4.41 GB, free: 183.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.734e-06/10.41, allocations: 0.9062 kB / 4.41 GB, free: 183.1 MB / 0.948 GB Notification: Performance of Templates: time 0.1696/10.58, allocations: 91.04 MB / 4.499 GB, free: 178.9 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)