Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.652/1.652, allocations: 285.6 MB / 293.1 MB, free: 10.16 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.001169/0.001169, allocations: 172.9 kB / 361.4 MB, free: 6.812 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.636/1.636, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.0008349/0.0008349, allocations: 93.98 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.535e-05/1.538e-05, allocations: 0 / 0.8517 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6858/0.6858, allocations: 115.3 MB / 0.9644 GB, free: 78.83 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.952/6.638, allocations: 2.357 GB / 3.322 GB, free: 170.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/6.638, allocations: 87.95 kB / 3.322 GB, free: 170.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.65/17.29, allocations: 2.817 GB / 6.139 GB, free: 94.04 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.352e-06/17.29, allocations: 2.312 kB / 6.139 GB, free: 94.04 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.003531/17.29, allocations: 373.7 kB / 6.139 GB, free: 93.98 MB / 0.9792 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.04658/17.34, allocations: 12.03 MB / 6.151 GB, free: 89.58 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/17.34, allocations: 8.625 kB / 6.151 GB, free: 89.58 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02278/17.36, allocations: 3.013 MB / 6.154 GB, free: 88.76 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0533/17.41, allocations: 18.13 MB / 6.172 GB, free: 87.16 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008273/17.41, allocations: 360.5 kB / 6.172 GB, free: 87.16 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005854/17.42, allocations: 0.6416 MB / 6.173 GB, free: 87.16 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03205/17.45, allocations: 12.83 MB / 6.185 GB, free: 87.11 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04703/17.5, allocations: 14.4 MB / 6.199 GB, free: 85.47 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008386/17.5, allocations: 40.28 kB / 6.199 GB, free: 85.46 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005585/17.51, allocations: 23.22 kB / 6.199 GB, free: 85.46 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00103/17.51, allocations: 0.5611 MB / 6.2 GB, free: 85.44 MB / 0.9792 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.1205/17.63, allocations: 61.03 MB / 6.259 GB, free: 63.14 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01698/17.64, allocations: 9.239 MB / 6.268 GB, free: 62.9 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008007/17.65, allocations: 4.907 MB / 6.273 GB, free: 62.83 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002822/17.66, allocations: 2.39 MB / 6.275 GB, free: 60.39 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01202/17.67, allocations: 5.053 MB / 6.28 GB, free: 60.19 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=704): time 2.183e-05/17.67, allocations: 3.5 kB / 6.28 GB, free: 60.19 MB / 0.9792 GB Notification: Performance of matching and sorting (n=704): time 0.1225/17.79, allocations: 17.53 MB / 6.298 GB, free: 59.01 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/17.79, allocations: 359.8 kB / 6.298 GB, free: 58.66 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0192/17.81, allocations: 9.456 MB / 6.307 GB, free: 58.03 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.00232/17.81, allocations: 37.2 kB / 6.307 GB, free: 58 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.007535/17.82, allocations: 6.172 MB / 6.313 GB, free: 55.68 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.004614/17.82, allocations: 2.351 MB / 6.315 GB, free: 54.13 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001004/17.82, allocations: 4 kB / 6.315 GB, free: 54.12 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0006592/17.83, allocations: 0.6466 MB / 6.316 GB, free: 53.8 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00584/17.83, allocations: 3.978 MB / 6.32 GB, free: 52.26 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008091/17.84, allocations: 6.201 MB / 6.326 GB, free: 47.97 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2908/18.13, allocations: 28.63 MB / 6.354 GB, free: 43.56 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001095/18.13, allocations: 20 kB / 6.354 GB, free: 43.56 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.3124/18.44, allocations: 34.63 MB / 6.388 GB, free: 24.98 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.01185/18.45, allocations: 35.49 MB / 6.423 GB, free: 19.17 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002516/18.45, allocations: 64 kB / 6.423 GB, free: 19.11 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008263/18.46, allocations: 199 kB / 6.423 GB, free: 18.93 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01278/18.47, allocations: 2.348 MB / 6.425 GB, free: 17.14 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/18.47, allocations: 1.622 MB / 6.427 GB, free: 15.51 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01826/18.49, allocations: 1.311 MB / 6.428 GB, free: 14.43 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0031/18.49, allocations: 429.5 kB / 6.428 GB, free: 14.06 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/18.49, allocations: 4 kB / 6.428 GB, free: 14.06 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.089/19.58, allocations: 34.93 MB / 6.462 GB, free: 117.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002124/19.58, allocations: 63.44 kB / 6.463 GB, free: 117.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006877/19.58, allocations: 195.6 kB / 6.463 GB, free: 117.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01298/19.6, allocations: 2.354 MB / 6.465 GB, free: 117.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/19.6, allocations: 1.608 MB / 6.467 GB, free: 116.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01623/19.61, allocations: 1.147 MB / 6.468 GB, free: 116.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003167/19.62, allocations: 427 kB / 6.468 GB, free: 116.5 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.00378/19.62, allocations: 336.8 kB / 6.468 GB, free: 116.4 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004661/19.63, allocations: 1.009 MB / 6.469 GB, free: 116.4 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1268/19.75, allocations: 19.03 MB / 6.488 GB, free: 116 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.561e-05/19.75, allocations: 78 kB / 6.488 GB, free: 116 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/19.75, allocations: 4.531 kB / 6.488 GB, free: 116 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1209/19.87, allocations: 16.96 MB / 6.505 GB, free: 115.5 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1659/20.04, allocations: 32.49 MB / 6.536 GB, free: 114 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.833e-05/20.04, allocations: 10.53 kB / 6.536 GB, free: 114 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009622/20.05, allocations: 1.711 MB / 6.538 GB, free: 114 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006465/20.05, allocations: 117 kB / 6.538 GB, free: 114 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001752/20.05, allocations: 165.5 kB / 6.538 GB, free: 114 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/20.05, allocations: 1.529 MB / 6.54 GB, free: 112.8 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-05/20.05, allocations: 17.88 kB / 6.54 GB, free: 112.8 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1328/20.19, allocations: 26.38 MB / 6.566 GB, free: 107.6 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01379/20.2, allocations: 2.951 MB / 6.568 GB, free: 106.9 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0065/20.21, allocations: 52.5 kB / 6.569 GB, free: 106.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01691/20.22, allocations: 0.7011 MB / 6.569 GB, free: 106.8 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003275/20.23, allocations: 451 kB / 6.57 GB, free: 106.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003211/20.23, allocations: 376.1 kB / 6.57 GB, free: 106.8 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.01774/20.25, allocations: 7.239 MB / 6.577 GB, free: 106.5 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.11e-07/20.25, allocations: 0 / 6.577 GB, free: 106.5 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.04038/20.29, allocations: 6.848 MB / 6.584 GB, free: 106 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.009801/20.3, allocations: 2.061 MB / 6.586 GB, free: 105.5 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.04085/20.34, allocations: 15.45 MB / 6.601 GB, free: 105.1 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.428e-05/20.34, allocations: 15.08 kB / 6.601 GB, free: 105.1 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.01048/20.35, allocations: 4.434 MB / 6.605 GB, free: 104.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0376/20.39, allocations: 5.852 MB / 6.611 GB, free: 104.5 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07198/20.46, allocations: 24.73 MB / 6.635 GB, free: 98.49 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01745/20.48, allocations: 8.647 MB / 6.644 GB, free: 97.38 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.04737/20.52, allocations: 9.813 MB / 6.653 GB, free: 95.89 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007229/20.53, allocations: 0.8302 MB / 6.654 GB, free: 95.88 MB / 1.01 GB Notification: Performance of SimCode: time 1.864e-06/20.53, allocations: 4 kB / 6.654 GB, free: 95.88 MB / 1.01 GB Notification: Performance of Templates: time 1.142/21.67, allocations: 218.1 MB / 6.867 GB, free: 137.4 MB / 1.042 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1)