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.541/1.541, allocations: 289.9 MB / 297.4 MB, free: 6.309 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.001212/0.001212, allocations: 176.9 kB / 366.7 MB, free: 1.641 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.609/1.609, allocations: 205.2 MB / 0.626 GB, free: 7.141 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.0008593/0.0008593, allocations: 85.72 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.836e-05/1.838e-05, allocations: 4 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7127/0.7128, allocations: 116.3 MB / 0.9732 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.142/6.855, allocations: 2.358 GB / 3.331 GB, free: 132.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/6.855, allocations: 87.95 kB / 3.332 GB, free: 132.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.16/17.01, allocations: 2.817 GB / 6.149 GB, free: 111.6 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.074e-06/17.01, allocations: 0 / 6.149 GB, free: 111.6 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.003018/17.02, allocations: 372.2 kB / 6.149 GB, free: 111.5 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.04898/17.07, allocations: 12.03 MB / 6.161 GB, free: 107.1 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/17.07, allocations: 9.094 kB / 6.161 GB, free: 107.1 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02112/17.09, allocations: 3.014 MB / 6.164 GB, free: 106.3 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04804/17.14, allocations: 18.13 MB / 6.181 GB, free: 104.7 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008662/17.14, allocations: 358.3 kB / 6.182 GB, free: 104.7 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006174/17.14, allocations: 0.642 MB / 6.182 GB, free: 104.7 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03673/17.18, allocations: 12.83 MB / 6.195 GB, free: 104.6 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04799/17.23, allocations: 14.4 MB / 6.209 GB, free: 103 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007941/17.23, allocations: 47.52 kB / 6.209 GB, free: 103 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005157/17.23, allocations: 19.97 kB / 6.209 GB, free: 103 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005178/17.23, allocations: 0.5589 MB / 6.21 GB, free: 103 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.1071/17.34, allocations: 61.03 MB / 6.269 GB, free: 80.66 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01298/17.35, allocations: 9.238 MB / 6.278 GB, free: 80.43 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006128/17.36, allocations: 4.906 MB / 6.283 GB, free: 80.36 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002227/17.36, allocations: 2.384 MB / 6.285 GB, free: 77.92 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007232/17.37, allocations: 5.054 MB / 6.29 GB, free: 77.71 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=704): time 8.446e-06/17.37, allocations: 0 / 6.29 GB, free: 77.71 MB / 0.9948 GB Notification: Performance of matching and sorting (n=704): time 0.1193/17.49, allocations: 17.53 MB / 6.307 GB, free: 76.54 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/17.49, allocations: 356.5 kB / 6.308 GB, free: 76.18 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01658/17.51, allocations: 9.464 MB / 6.317 GB, free: 72.94 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.002236/17.51, allocations: 36.61 kB / 6.317 GB, free: 72.91 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006002/17.51, allocations: 6.171 MB / 6.323 GB, free: 68.21 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003776/17.52, allocations: 2.359 MB / 6.325 GB, free: 66.37 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005871/17.52, allocations: 0 / 6.325 GB, free: 66.37 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0004081/17.52, allocations: 0.6482 MB / 6.326 GB, free: 65.91 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00678/17.53, allocations: 3.978 MB / 6.33 GB, free: 64.37 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01014/17.54, allocations: 6.2 MB / 6.336 GB, free: 60.08 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2901/17.83, allocations: 28.64 MB / 6.364 GB, free: 53.64 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-05/17.83, allocations: 20 kB / 6.364 GB, free: 53.62 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.3028/18.13, allocations: 34.63 MB / 6.398 GB, free: 28.59 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.009532/18.14, allocations: 35.48 MB / 6.432 GB, free: 6.785 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000261/18.14, allocations: 64 kB / 6.432 GB, free: 6.723 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008807/18.14, allocations: 200 kB / 6.433 GB, free: 6.547 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01301/18.15, allocations: 2.349 MB / 6.435 GB, free: 4.742 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/18.16, allocations: 1.617 MB / 6.436 GB, free: 3.086 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01689/18.17, allocations: 1.315 MB / 6.438 GB, free: 2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003235/18.18, allocations: 421.6 kB / 6.438 GB, free: 1.637 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/18.18, allocations: 4 kB / 6.438 GB, free: 1.633 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.124/19.3, allocations: 33.91 MB / 6.471 GB, free: 120.1 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002206/19.3, allocations: 63.91 kB / 6.471 GB, free: 120.1 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006119/19.3, allocations: 192.3 kB / 6.472 GB, free: 120.1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01181/19.31, allocations: 2.355 MB / 6.474 GB, free: 120.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/19.31, allocations: 1.605 MB / 6.475 GB, free: 118.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01611/19.33, allocations: 1.153 MB / 6.477 GB, free: 118.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003165/19.33, allocations: 423.7 kB / 6.477 GB, free: 118.9 MB / 1.01 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.003864/19.34, allocations: 335.7 kB / 6.477 GB, free: 118.8 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005429/19.34, allocations: 1.013 MB / 6.478 GB, free: 118.8 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1345/19.48, allocations: 19.03 MB / 6.497 GB, free: 118.4 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000104/19.48, allocations: 73.28 kB / 6.497 GB, free: 118.4 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.618e-05/19.48, allocations: 3.469 kB / 6.497 GB, free: 118.4 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1233/19.6, allocations: 16.97 MB / 6.513 GB, free: 117.4 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.158/19.76, allocations: 32.49 MB / 6.545 GB, free: 115.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.743e-05/19.76, allocations: 13.48 kB / 6.545 GB, free: 115.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009354/19.77, allocations: 1.717 MB / 6.547 GB, free: 115.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006223/19.77, allocations: 116.8 kB / 6.547 GB, free: 115.3 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001406/19.77, allocations: 165.8 kB / 6.547 GB, free: 115.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001541/19.77, allocations: 1.526 MB / 6.549 GB, free: 114.1 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.555e-05/19.77, allocations: 21.53 kB / 6.549 GB, free: 114.1 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1326/19.9, allocations: 26.38 MB / 6.574 GB, free: 108.8 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01426/19.92, allocations: 2.941 MB / 6.577 GB, free: 108.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007048/19.93, allocations: 57.02 kB / 6.577 GB, free: 108.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01534/19.94, allocations: 0.6981 MB / 6.578 GB, free: 108.1 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002593/19.94, allocations: 458.3 kB / 6.578 GB, free: 108 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002217/19.95, allocations: 378 kB / 6.579 GB, free: 108 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.01968/19.97, allocations: 7.242 MB / 6.586 GB, free: 107.8 MB / 1.01 GB Notification: Performance of sort global known variables: time 8.11e-07/19.97, allocations: 0 / 6.586 GB, free: 107.8 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.04742/20.01, allocations: 6.846 MB / 6.593 GB, free: 107.2 MB / 1.01 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.009395/20.02, allocations: 2.052 MB / 6.595 GB, free: 106.7 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.03821/20.06, allocations: 15.45 MB / 6.61 GB, free: 106.3 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.689e-05/20.06, allocations: 14.8 kB / 6.61 GB, free: 106.3 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.01047/20.07, allocations: 4.436 MB / 6.614 GB, free: 106.1 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03734/20.11, allocations: 5.861 MB / 6.62 GB, free: 105.7 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06632/20.17, allocations: 24.72 MB / 6.644 GB, free: 99.7 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01745/20.19, allocations: 8.645 MB / 6.652 GB, free: 98.59 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.04928/20.24, allocations: 9.812 MB / 6.662 GB, free: 97.09 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006798/20.25, allocations: 0.8283 MB / 6.663 GB, free: 97.08 MB / 1.01 GB Notification: Performance of SimCode: time 1.953e-06/20.25, allocations: 1.531 kB / 6.663 GB, free: 97.08 MB / 1.01 GB Notification: Performance of Templates: time 1.175/21.42, allocations: 218.1 MB / 6.876 GB, free: 144.2 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)