Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.819/1.819, allocations: 293 MB / 309 MB, free: 4.836 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.001209/0.001209, allocations: 171.7 kB / 378.7 MB, free: 1.035 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.212/2.212, allocations: 205.4 MB / 0.6383 GB, free: 9.164 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.0008706/0.0008706, allocations: 86 kB / 0.7527 GB, free: 62.15 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004581/0.0004581, allocations: 12 kB / 0.8768 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3058, allocations: 116.4 MB / 0.9904 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.437/6.742, allocations: 2.359 GB / 3.35 GB, free: 220 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/6.743, allocations: 95.95 kB / 3.35 GB, free: 219.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 11.19/17.94, allocations: 2.823 GB / 6.173 GB, free: 80.84 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.725e-06/17.94, allocations: 0 / 6.173 GB, free: 80.84 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.003043/17.94, allocations: 377.7 kB / 6.173 GB, free: 80.79 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.06611/18.01, allocations: 14.52 MB / 6.187 GB, free: 75.49 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 7.216e-05/18.01, allocations: 11.59 kB / 6.187 GB, free: 75.49 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02359/18.03, allocations: 3.026 MB / 6.19 GB, free: 74.67 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06602/18.1, allocations: 17.54 MB / 6.208 GB, free: 72.55 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001323/18.1, allocations: 0.8215 MB / 6.208 GB, free: 72.53 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008023/18.1, allocations: 1.099 MB / 6.209 GB, free: 72.52 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0639/18.17, allocations: 16.82 MB / 6.226 GB, free: 70.84 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001169/18.17, allocations: 49.28 kB / 6.226 GB, free: 70.83 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007028/18.18, allocations: 482.8 kB / 6.226 GB, free: 70.83 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008978/18.18, allocations: 0.5583 MB / 6.227 GB, free: 70.8 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04887/18.23, allocations: 15.09 MB / 6.242 GB, free: 70.71 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 0.1648/18.39, allocations: 62.65 MB / 6.303 GB, free: 48.16 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02917/18.42, allocations: 10.25 MB / 6.313 GB, free: 47.89 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01511/18.44, allocations: 5.617 MB / 6.318 GB, free: 47.81 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00366/18.44, allocations: 2.384 MB / 6.321 GB, free: 45.37 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02099/18.46, allocations: 5.778 MB / 6.326 GB, free: 45.15 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=704): time 2.249e-05/18.46, allocations: 0 / 6.326 GB, free: 45.15 MB / 0.9948 GB Notification: Performance of matching and sorting (n=704): time 0.05233/18.51, allocations: 13.94 MB / 6.34 GB, free: 44.24 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002316/18.51, allocations: 356.4 kB / 6.34 GB, free: 43.89 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03888/18.55, allocations: 11.23 MB / 6.351 GB, free: 43.21 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.003469/18.56, allocations: 167.6 kB / 6.351 GB, free: 43.18 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0136/18.57, allocations: 6.253 MB / 6.357 GB, free: 41.07 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006352/18.58, allocations: 2.445 MB / 6.36 GB, free: 39.52 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002815/18.58, allocations: 168.8 kB / 6.36 GB, free: 39.52 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.001382/18.58, allocations: 0.6512 MB / 6.361 GB, free: 39.2 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01347/18.59, allocations: 4.631 MB / 6.365 GB, free: 39.18 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01679/18.61, allocations: 6.938 MB / 6.372 GB, free: 36.64 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0309/18.64, allocations: 12.01 MB / 6.384 GB, free: 33.96 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000223/18.64, allocations: 19.56 kB / 6.384 GB, free: 33.96 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.0507/18.69, allocations: 13.03 MB / 6.396 GB, free: 33.02 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002596/18.7, allocations: 2.046 MB / 6.398 GB, free: 30.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003751/18.7, allocations: 63.38 kB / 6.398 GB, free: 30.21 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001084/18.7, allocations: 191.6 kB / 6.399 GB, free: 30.19 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0131/18.71, allocations: 2.216 MB / 6.401 GB, free: 30.11 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002524/18.71, allocations: 1.675 MB / 6.402 GB, free: 28.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01999/18.73, allocations: 1.508 MB / 6.404 GB, free: 27.96 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003515/18.74, allocations: 428.9 kB / 6.404 GB, free: 27.89 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/18.74, allocations: 2.75 kB / 6.404 GB, free: 27.89 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03885/18.78, allocations: 12.08 MB / 6.416 GB, free: 23.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003497/18.78, allocations: 69.09 kB / 6.416 GB, free: 23.85 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008109/18.78, allocations: 191 kB / 6.416 GB, free: 23.83 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01284/18.79, allocations: 2.217 MB / 6.419 GB, free: 23.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002368/18.79, allocations: 1.664 MB / 6.42 GB, free: 22.24 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01893/18.81, allocations: 1.358 MB / 6.421 GB, free: 21.63 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003908/18.81, allocations: 423.6 kB / 6.422 GB, free: 21.57 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.01852/18.83, allocations: 4.819 MB / 6.427 GB, free: 19.49 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007666/18.84, allocations: 1.1 MB / 6.428 GB, free: 18.93 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0453/18.89, allocations: 11.52 MB / 6.439 GB, free: 14.71 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001232/18.89, allocations: 77.56 kB / 6.439 GB, free: 14.71 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.154e-05/18.89, allocations: 6.094 kB / 6.439 GB, free: 14.71 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02907/18.92, allocations: 9.226 MB / 6.448 GB, free: 11.26 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09691/19.01, allocations: 25.97 MB / 6.473 GB, free: 0.8711 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.301e-05/19.01, allocations: 15.75 kB / 6.473 GB, free: 0.8672 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01092/19.02, allocations: 1.782 MB / 6.475 GB, free: 0.7148 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007392/19.02, allocations: 115.1 kB / 6.475 GB, free: 0.6953 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002564/19.03, allocations: 244.2 kB / 6.475 GB, free: 0.5938 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002066/19.03, allocations: 1.597 MB / 6.477 GB, free: 15.14 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.445e-05/19.03, allocations: 17.84 kB / 6.477 GB, free: 15.13 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05397/19.08, allocations: 16.63 MB / 6.493 GB, free: 1.785 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01876/19.1, allocations: 3.129 MB / 6.496 GB, free: 0 / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0107/19.11, allocations: 218.8 kB / 6.497 GB, free: 0 / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0179/19.13, allocations: 0.8254 MB / 6.497 GB, free: 15.41 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003884/19.13, allocations: 454.9 kB / 6.498 GB, free: 15.12 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004423/19.14, allocations: 381.7 kB / 6.498 GB, free: 14.84 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.02576/19.16, allocations: 7.843 MB / 6.506 GB, free: 8.496 MB / 1.026 GB Notification: Performance of sort global known variables: time 2.244e-06/19.16, allocations: 3.938 kB / 6.506 GB, free: 8.492 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.04319/19.21, allocations: 7.069 MB / 6.513 GB, free: 1.438 MB / 1.026 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.008698/19.22, allocations: 2.145 MB / 6.515 GB, free: 15.96 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.04853/19.27, allocations: 17.31 MB / 6.532 GB, free: 1.203 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.81e-05/19.27, allocations: 11.61 kB / 6.532 GB, free: 1.191 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.8605/20.13, allocations: 5.931 MB / 6.538 GB, free: 116.1 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07098/20.2, allocations: 6.945 MB / 6.544 GB, free: 116 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09901/20.3, allocations: 34.62 MB / 6.578 GB, free: 104.3 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02619/20.32, allocations: 8.384 MB / 6.586 GB, free: 103.3 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.04262/20.37, allocations: 7.053 MB / 6.593 GB, free: 102.3 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00903/20.37, allocations: 1.077 MB / 6.594 GB, free: 102.2 MB / 1.042 GB Notification: Performance of SimCode: time 1.643e-06/20.37, allocations: 2.938 kB / 6.594 GB, free: 102.2 MB / 1.042 GB Notification: Performance of Templates: time 0.431/20.81, allocations: 250.4 MB / 6.839 GB, free: 35.12 MB / 1.042 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1)