Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.649/1.649, allocations: 289.7 MB / 302.3 MB, free: 2.156 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.001055/0.001055, allocations: 177.4 kB / 371.6 MB, free: 3.371 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.767/1.767, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 90.34 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.854e-05/3.858e-05, allocations: 0 / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3137, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.675/7.989, allocations: 2.359 GB / 3.338 GB, free: 193 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/7.989, allocations: 94.83 kB / 3.338 GB, free: 192.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.032/12.02, allocations: 0.9272 GB / 4.266 GB, free: 115.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.144e-06/12.02, allocations: 1.594 kB / 4.266 GB, free: 115.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0007775/12.02, allocations: 125.1 kB / 4.266 GB, free: 115.6 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.01404/12.04, allocations: 4.273 MB / 4.27 GB, free: 115 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/12.04, allocations: 9.5 kB / 4.27 GB, free: 115 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009516/12.05, allocations: 1.242 MB / 4.271 GB, free: 114.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01714/12.06, allocations: 5.384 MB / 4.276 GB, free: 114.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004403/12.06, allocations: 279.3 kB / 4.277 GB, free: 114.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001676/12.07, allocations: 369.9 kB / 4.277 GB, free: 114.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01956/12.08, allocations: 5.033 MB / 4.282 GB, free: 113.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000154/12.09, allocations: 13.33 kB / 4.282 GB, free: 113.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007563/12.09, allocations: 161.9 kB / 4.282 GB, free: 113.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002185/12.09, allocations: 177.2 kB / 4.282 GB, free: 113.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/12.1, allocations: 4.638 MB / 4.287 GB, free: 113.6 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.03399/12.13, allocations: 19.32 MB / 4.306 GB, free: 107.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00491/12.14, allocations: 3.217 MB / 4.309 GB, free: 107.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00226/12.14, allocations: 1.669 MB / 4.31 GB, free: 107.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001797/12.14, allocations: 1.866 MB / 4.312 GB, free: 105.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003176/12.14, allocations: 1.839 MB / 4.314 GB, free: 105.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=264): time 7.274e-06/12.14, allocations: 0 / 4.314 GB, free: 105.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=264): time 0.006925/12.15, allocations: 3.131 MB / 4.317 GB, free: 105 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.624e-05/12.15, allocations: 285 kB / 4.317 GB, free: 104.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00752/12.16, allocations: 3.438 MB / 4.321 GB, free: 104.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.00113/12.16, allocations: 81.58 kB / 4.321 GB, free: 104.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002521/12.16, allocations: 1.976 MB / 4.323 GB, free: 103.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001782/12.16, allocations: 0.8969 MB / 4.324 GB, free: 103.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005749/12.16, allocations: 57.59 kB / 4.324 GB, free: 103.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003093/12.16, allocations: 430 kB / 4.324 GB, free: 102.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002797/12.17, allocations: 1.342 MB / 4.325 GB, free: 102.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002973/12.17, allocations: 2.039 MB / 4.327 GB, free: 102.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002817/12.17, allocations: 1.701 MB / 4.329 GB, free: 102.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.131e-05/12.17, allocations: 9.688 kB / 4.329 GB, free: 102.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.007762/12.18, allocations: 3.957 MB / 4.333 GB, free: 101.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001686/12.18, allocations: 7.411 MB / 4.34 GB, free: 93.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-05/12.18, allocations: 17.44 kB / 4.34 GB, free: 93.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006712/12.18, allocations: 111.6 kB / 4.34 GB, free: 93.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004301/12.19, allocations: 0.8102 MB / 4.341 GB, free: 93.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/12.19, allocations: 1.57 MB / 4.343 GB, free: 92.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006996/12.2, allocations: 0.5255 MB / 4.343 GB, free: 92.48 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008665/12.2, allocations: 149.5 kB / 4.343 GB, free: 92.48 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/12.2, allocations: 3.094 kB / 4.343 GB, free: 92.48 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008642/12.21, allocations: 3.619 MB / 4.347 GB, free: 92.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.514e-05/12.21, allocations: 20.88 kB / 4.347 GB, free: 92.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005942/12.21, allocations: 113.2 kB / 4.347 GB, free: 92.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003993/12.21, allocations: 0.8023 MB / 4.348 GB, free: 92.38 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/12.21, allocations: 1.57 MB / 4.349 GB, free: 91.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005507/12.22, allocations: 489.9 kB / 4.35 GB, free: 90.95 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001067/12.22, allocations: 146.8 kB / 4.35 GB, free: 90.95 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 (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.002199/12.22, allocations: 286.7 kB / 4.35 GB, free: 90.83 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002343/12.22, allocations: 384.2 kB / 4.351 GB, free: 90.63 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01009/12.23, allocations: 3.942 MB / 4.354 GB, free: 90.39 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.62e-05/12.23, allocations: 34.02 kB / 4.354 GB, free: 90.39 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/12.23, allocations: 3.281 kB / 4.354 GB, free: 90.39 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005271/12.24, allocations: 3.061 MB / 4.357 GB, free: 90.04 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02188/12.26, allocations: 8.851 MB / 4.366 GB, free: 89.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.536e-05/12.26, allocations: 6.188 kB / 4.366 GB, free: 89.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003478/12.26, allocations: 0.6329 MB / 4.367 GB, free: 89.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006091/12.26, allocations: 95.44 kB / 4.367 GB, free: 89.11 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004777/12.27, allocations: 90.34 kB / 4.367 GB, free: 89.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/12.27, allocations: 1.573 MB / 4.368 GB, free: 87.82 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.076e-06/12.27, allocations: 6.188 kB / 4.368 GB, free: 87.82 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01114/12.28, allocations: 5.835 MB / 4.374 GB, free: 86.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004002/12.28, allocations: 1.083 MB / 4.375 GB, free: 86.36 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001809/12.28, allocations: 61.58 kB / 4.375 GB, free: 86.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005084/12.29, allocations: 316 kB / 4.376 GB, free: 86.34 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005677/12.29, allocations: 186.3 kB / 4.376 GB, free: 86.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005881/12.29, allocations: 138.7 kB / 4.376 GB, free: 86.34 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00651/12.3, allocations: 2.7 MB / 4.378 GB, free: 86.18 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.11e-07/12.3, allocations: 0 / 4.378 GB, free: 86.18 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01411/12.31, allocations: 2.449 MB / 4.381 GB, free: 85.85 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) * 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.004635/12.32, allocations: 1.613 MB / 4.382 GB, free: 85.58 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01319/12.33, allocations: 5.586 MB / 4.388 GB, free: 85.26 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.799e-05/12.33, allocations: 8.25 kB / 4.388 GB, free: 85.26 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003898/12.33, allocations: 1.75 MB / 4.39 GB, free: 85.13 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01222/12.34, allocations: 2.014 MB / 4.392 GB, free: 85.09 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02701/12.37, allocations: 7.942 MB / 4.399 GB, free: 83.49 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006139/12.38, allocations: 3.125 MB / 4.402 GB, free: 82.71 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01438/12.39, allocations: 3.017 MB / 4.405 GB, free: 82.67 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002174/12.39, allocations: 325.3 kB / 4.406 GB, free: 82.66 MB / 0.948 GB Notification: Performance of SimCode: time 1.122e-06/12.39, allocations: 0 / 4.406 GB, free: 82.66 MB / 0.948 GB Notification: Performance of Templates: time 0.1624/12.56, allocations: 98.6 MB / 4.502 GB, free: 77.17 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)