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.606/1.606, allocations: 289.7 MB / 302.3 MB, free: 2.188 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.001145/0.001145, allocations: 185.9 kB / 371.6 MB, free: 3.418 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.829/1.829, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.0009245/0.0009243, allocations: 88.91 kB / 0.745 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.922e-05/3.925e-05, allocations: 4 kB / 0.8662 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2783, allocations: 116.3 MB / 0.9798 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.459/7.737, allocations: 2.359 GB / 3.339 GB, free: 207.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003574/7.738, allocations: 91.14 kB / 3.339 GB, free: 207.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 11.49/19.23, allocations: 2.832 GB / 6.171 GB, free: 80 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.016e-06/19.23, allocations: 6.125 kB / 6.171 GB, free: 80 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.002461/19.23, allocations: 370.7 kB / 6.171 GB, free: 79.94 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.04801/19.28, allocations: 12.03 MB / 6.183 GB, free: 75.54 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/19.28, allocations: 12.47 kB / 6.183 GB, free: 75.54 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02247/19.3, allocations: 3.015 MB / 6.186 GB, free: 74.72 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05744/19.36, allocations: 18.13 MB / 6.203 GB, free: 73.12 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001342/19.36, allocations: 0.8193 MB / 6.204 GB, free: 73.1 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00699/19.37, allocations: 1.101 MB / 6.205 GB, free: 73.09 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05631/19.43, allocations: 15.98 MB / 6.221 GB, free: 71.42 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009104/19.43, allocations: 47.03 kB / 6.221 GB, free: 71.41 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005812/19.43, allocations: 488.1 kB / 6.221 GB, free: 71.41 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007975/19.43, allocations: 0.5616 MB / 6.222 GB, free: 71.39 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03901/19.47, allocations: 13.77 MB / 6.235 GB, free: 71.29 MB / 0.9948 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.1479/19.62, allocations: 63.23 MB / 6.297 GB, free: 48.72 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01833/19.64, allocations: 9.583 MB / 6.307 GB, free: 48.48 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01104/19.65, allocations: 5.128 MB / 6.312 GB, free: 48.4 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003132/19.65, allocations: 2.388 MB / 6.314 GB, free: 45.96 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01487/19.67, allocations: 5.279 MB / 6.319 GB, free: 45.74 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=704): time 2.015e-05/19.67, allocations: 4.953 kB / 6.319 GB, free: 45.74 MB / 0.9948 GB Notification: Performance of matching and sorting (n=704): time 0.02811/19.7, allocations: 8.898 MB / 6.328 GB, free: 44.95 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001549/19.7, allocations: 361.5 kB / 6.328 GB, free: 44.6 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02894/19.73, allocations: 10.98 MB / 6.339 GB, free: 43.93 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.002825/19.73, allocations: 167.1 kB / 6.339 GB, free: 43.9 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01159/19.74, allocations: 6.262 MB / 6.345 GB, free: 41.79 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.005664/19.75, allocations: 2.457 MB / 6.347 GB, free: 40.25 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002608/19.75, allocations: 173 kB / 6.348 GB, free: 40.25 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.001285/19.75, allocations: 0.6461 MB / 6.348 GB, free: 39.92 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009282/19.76, allocations: 4.143 MB / 6.352 GB, free: 39.9 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01124/19.77, allocations: 6.418 MB / 6.359 GB, free: 37.36 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/19.78, allocations: 5.372 MB / 6.364 GB, free: 37.25 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001709/19.78, allocations: 18.25 kB / 6.364 GB, free: 37.25 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.03851/19.82, allocations: 12.06 MB / 6.376 GB, free: 36.48 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.01414/19.83, allocations: 37.01 MB / 6.412 GB, free: 30.37 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003086/19.84, allocations: 62.81 kB / 6.412 GB, free: 30.37 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009956/19.84, allocations: 195.2 kB / 6.412 GB, free: 30.36 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01302/19.85, allocations: 2.352 MB / 6.414 GB, free: 30.35 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002482/19.85, allocations: 1.675 MB / 6.416 GB, free: 29.05 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02208/19.87, allocations: 1.593 MB / 6.417 GB, free: 28.43 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004055/19.88, allocations: 425.1 kB / 6.418 GB, free: 28.43 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/19.88, allocations: 2.562 kB / 6.418 GB, free: 28.43 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03258/19.91, allocations: 11.11 MB / 6.429 GB, free: 27.19 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004142/19.91, allocations: 66.16 kB / 6.429 GB, free: 27.19 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008531/19.91, allocations: 195.2 kB / 6.429 GB, free: 27.17 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01292/19.93, allocations: 2.353 MB / 6.431 GB, free: 27.07 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003426/19.93, allocations: 1.669 MB / 6.433 GB, free: 41.65 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01734/19.95, allocations: 1.422 MB / 6.434 GB, free: 41 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002975/19.95, allocations: 427.2 kB / 6.435 GB, free: 40.93 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 () * 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.005515/19.95, allocations: 0.6199 MB / 6.435 GB, free: 40.54 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007071/19.96, allocations: 1.11 MB / 6.436 GB, free: 39.96 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03218/19.99, allocations: 10.61 MB / 6.447 GB, free: 36.02 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.51e-05/19.99, allocations: 74.03 kB / 6.447 GB, free: 36.02 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.096e-05/19.99, allocations: 0 / 6.447 GB, free: 36.02 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02199/20.02, allocations: 8.283 MB / 6.455 GB, free: 32.86 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0752/20.09, allocations: 25.34 MB / 6.48 GB, free: 22.71 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.045e-05/20.09, allocations: 10.72 kB / 6.48 GB, free: 22.71 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01026/20.1, allocations: 1.709 MB / 6.481 GB, free: 22.63 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007249/20.1, allocations: 114.4 kB / 6.481 GB, free: 22.61 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00255/20.1, allocations: 249.5 kB / 6.482 GB, free: 22.51 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/20.11, allocations: 1.603 MB / 6.483 GB, free: 21.07 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.47e-05/20.11, allocations: 19.28 kB / 6.483 GB, free: 21.07 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03781/20.14, allocations: 18.16 MB / 6.501 GB, free: 9.793 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01331/20.16, allocations: 3.058 MB / 6.504 GB, free: 7.211 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00669/20.17, allocations: 166.3 kB / 6.504 GB, free: 7.059 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01662/20.18, allocations: 0.8233 MB / 6.505 GB, free: 6.445 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002479/20.18, allocations: 452.6 kB / 6.505 GB, free: 6.156 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003023/20.19, allocations: 380.1 kB / 6.506 GB, free: 5.879 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.02516/20.21, allocations: 8.655 MB / 6.514 GB, free: 14.61 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.393e-06/20.21, allocations: 0 / 6.514 GB, free: 14.61 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.04358/20.26, allocations: 7.14 MB / 6.521 GB, free: 7.484 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) * 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.008622/20.26, allocations: 2.115 MB / 6.523 GB, free: 5.902 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.8296/21.09, allocations: 16.86 MB / 6.54 GB, free: 130.6 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 4.143e-05/21.09, allocations: 14.66 kB / 6.54 GB, free: 130.6 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.01277/21.11, allocations: 4.596 MB / 6.544 GB, free: 130.5 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04279/21.15, allocations: 6.866 MB / 6.551 GB, free: 130.3 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06768/21.22, allocations: 25.42 MB / 6.576 GB, free: 125.8 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01371/21.23, allocations: 8.654 MB / 6.584 GB, free: 124.8 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.05042/21.28, allocations: 11.07 MB / 6.595 GB, free: 123.5 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00581/21.29, allocations: 0.8651 MB / 6.596 GB, free: 123.5 MB / 1.057 GB Notification: Performance of SimCode: time 2.324e-06/21.29, allocations: 0 / 6.596 GB, free: 123.5 MB / 1.057 GB Notification: Performance of Templates: time 0.4341/21.72, allocations: 267.4 MB / 6.857 GB, free: 31.06 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)