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.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.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.4-maint.8.1.x/package.mo): time 1.788/1.788, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001248/0.001248, allocations: 178.9 kB / 377.1 MB, free: 1.523 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.074/2.074, allocations: 205.4 MB / 0.6367 GB, free: 8.617 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.001343/0.001344, allocations: 92.08 kB / 0.751 GB, free: 63.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000414/0.000414, allocations: 12 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3481, allocations: 116.3 MB / 0.9884 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.373/7.721, allocations: 2.359 GB / 3.347 GB, free: 224.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003609/7.722, allocations: 100.6 kB / 3.347 GB, free: 224.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 11.99/19.71, allocations: 2.839 GB / 6.187 GB, free: 78.33 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.845e-06/19.71, allocations: 0.5625 kB / 6.187 GB, free: 78.33 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.003208/19.72, allocations: 372.6 kB / 6.187 GB, free: 78.28 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.07962/19.8, allocations: 14.68 MB / 6.201 GB, free: 72.97 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/19.8, allocations: 10 kB / 6.201 GB, free: 72.97 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02638/19.82, allocations: 3.021 MB / 6.204 GB, free: 72.15 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06559/19.89, allocations: 18.21 MB / 6.222 GB, free: 70.55 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001411/19.89, allocations: 0.8247 MB / 6.223 GB, free: 70.53 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007715/19.9, allocations: 1.096 MB / 6.224 GB, free: 70.52 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0659/19.96, allocations: 16.72 MB / 6.24 GB, free: 68.84 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001054/19.96, allocations: 40.12 kB / 6.24 GB, free: 68.84 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008152/19.97, allocations: 486.6 kB / 6.241 GB, free: 68.84 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007302/19.97, allocations: 0.5632 MB / 6.241 GB, free: 68.82 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0551/20.03, allocations: 15.08 MB / 6.256 GB, free: 68.72 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.17/20.2, allocations: 63.25 MB / 6.318 GB, free: 46.14 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02441/20.22, allocations: 10.46 MB / 6.328 GB, free: 45.88 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003924/20.23, allocations: 2.392 MB / 6.33 GB, free: 43.43 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01992/20.25, allocations: 5.726 MB / 6.336 GB, free: 43.22 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=704): time 1.789e-05/20.25, allocations: 3.719 kB / 6.336 GB, free: 43.22 MB / 0.9948 GB Notification: Performance of matching and sorting (n=704): time 0.05173/20.3, allocations: 13.88 MB / 6.35 GB, free: 42.29 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000207/20.3, allocations: 356.7 kB / 6.35 GB, free: 41.94 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0371/20.34, allocations: 11.09 MB / 6.361 GB, free: 41.32 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.003717/20.34, allocations: 170 kB / 6.361 GB, free: 41.29 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01442/20.35, allocations: 6.26 MB / 6.367 GB, free: 39.18 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.007365/20.36, allocations: 2.45 MB / 6.369 GB, free: 37.63 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003139/20.36, allocations: 171.7 kB / 6.37 GB, free: 37.63 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.001592/20.37, allocations: 0.6567 MB / 6.37 GB, free: 37.31 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01349/20.38, allocations: 4.603 MB / 6.375 GB, free: 37.29 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01675/20.4, allocations: 6.881 MB / 6.381 GB, free: 34.75 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0187/20.42, allocations: 5.815 MB / 6.387 GB, free: 34.6 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002717/20.42, allocations: 21.84 kB / 6.387 GB, free: 34.6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.05052/20.47, allocations: 12.98 MB / 6.4 GB, free: 33.73 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.02043/20.49, allocations: 37.01 MB / 6.436 GB, free: 43.39 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003681/20.49, allocations: 64.72 kB / 6.436 GB, free: 43.39 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/20.49, allocations: 198.6 kB / 6.436 GB, free: 43.38 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01481/20.5, allocations: 2.351 MB / 6.438 GB, free: 43.35 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003044/20.51, allocations: 1.685 MB / 6.44 GB, free: 42.05 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02308/20.53, allocations: 1.59 MB / 6.442 GB, free: 41.43 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004019/20.53, allocations: 428.9 kB / 6.442 GB, free: 41.43 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/20.53, allocations: 8.969 kB / 6.442 GB, free: 41.43 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03987/20.57, allocations: 12.04 MB / 6.454 GB, free: 40.14 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002455/20.57, allocations: 63.09 kB / 6.454 GB, free: 40.14 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006913/20.57, allocations: 200.4 kB / 6.454 GB, free: 40.12 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01429/20.59, allocations: 2.348 MB / 6.456 GB, free: 40.03 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/20.59, allocations: 1.691 MB / 6.458 GB, free: 38.6 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02049/20.61, allocations: 1.419 MB / 6.459 GB, free: 37.95 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004068/20.62, allocations: 428.8 kB / 6.46 GB, free: 37.88 MB / 1.042 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.01935/20.64, allocations: 4.812 MB / 6.465 GB, free: 35.94 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008316/20.64, allocations: 1.105 MB / 6.466 GB, free: 35.37 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03916/20.68, allocations: 11.51 MB / 6.477 GB, free: 31.14 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.201e-05/20.68, allocations: 71.92 kB / 6.477 GB, free: 31.14 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/20.68, allocations: 2.438 kB / 6.477 GB, free: 31.14 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02302/20.71, allocations: 9.187 MB / 6.486 GB, free: 27.7 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08287/20.79, allocations: 26.24 MB / 6.512 GB, free: 17.23 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.728e-05/20.79, allocations: 12.47 kB / 6.512 GB, free: 17.23 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01065/20.8, allocations: 1.712 MB / 6.513 GB, free: 17.07 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006958/20.8, allocations: 118.2 kB / 6.513 GB, free: 17.06 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001757/20.8, allocations: 245.9 kB / 6.514 GB, free: 16.95 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002169/20.8, allocations: 1.604 MB / 6.515 GB, free: 15.5 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.369e-05/20.8, allocations: 15.16 kB / 6.515 GB, free: 15.49 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04119/20.85, allocations: 19.51 MB / 6.534 GB, free: 20 kB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01506/20.86, allocations: 3.052 MB / 6.537 GB, free: 13.44 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009189/20.87, allocations: 167.2 kB / 6.537 GB, free: 13.29 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01785/20.89, allocations: 0.8228 MB / 6.538 GB, free: 12.67 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002456/20.89, allocations: 462.9 kB / 6.539 GB, free: 12.37 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003043/20.89, allocations: 379.4 kB / 6.539 GB, free: 12.09 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.02754/20.92, allocations: 8.696 MB / 6.547 GB, free: 5.031 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.212e-06/20.92, allocations: 3.172 kB / 6.547 GB, free: 5.031 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.9994/21.92, allocations: 7.589 MB / 6.555 GB, free: 130 MB / 1.057 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.008673/21.93, allocations: 2.151 MB / 6.557 GB, free: 129.7 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.05258/21.98, allocations: 17.26 MB / 6.574 GB, free: 129.3 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 4.447e-05/21.98, allocations: 12.77 kB / 6.574 GB, free: 129.3 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.01628/22, allocations: 5.046 MB / 6.579 GB, free: 129.2 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04531/22.04, allocations: 6.867 MB / 6.585 GB, free: 129 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.082/22.13, allocations: 34.43 MB / 6.619 GB, free: 117.3 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02846/22.15, allocations: 8.639 MB / 6.627 GB, free: 116.2 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.04652/22.2, allocations: 7.133 MB / 6.634 GB, free: 115.1 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01054/22.21, allocations: 1.082 MB / 6.636 GB, free: 115.1 MB / 1.057 GB Notification: Performance of SimCode: time 1.914e-06/22.21, allocations: 0 / 6.636 GB, free: 115.1 MB / 1.057 GB Notification: Performance of Templates: time 0.4309/22.64, allocations: 248.3 MB / 6.878 GB, free: 34.31 MB / 1.057 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)