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.735/1.735, allocations: 288.4 MB / 304.3 MB, free: 8.086 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.00106/0.00106, allocations: 180.5 kB / 373 MB, free: 10.16 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.769/1.769, allocations: 205.4 MB / 0.6317 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008298/0.0008297, allocations: 94.81 kB / 0.745 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004256/0.0004256, allocations: 12.56 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2432, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.481/6.724, allocations: 2.358 GB / 3.339 GB, free: 330.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003501/6.725, allocations: 95.09 kB / 3.339 GB, free: 330.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.904/16.63, allocations: 2.823 GB / 6.162 GB, free: 101.9 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.715e-06/16.63, allocations: 0 / 6.162 GB, free: 101.9 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.002653/16.63, allocations: 380.9 kB / 6.162 GB, free: 101.9 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.05442/16.69, allocations: 14.52 MB / 6.177 GB, free: 91.4 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/16.69, allocations: 8.031 kB / 6.177 GB, free: 91.39 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02408/16.71, allocations: 3.019 MB / 6.18 GB, free: 88.36 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04884/16.76, allocations: 17.55 MB / 6.197 GB, free: 71.09 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009907/16.76, allocations: 0.8215 MB / 6.198 GB, free: 70.27 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005878/16.77, allocations: 1.102 MB / 6.199 GB, free: 69.18 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05304/16.82, allocations: 16.82 MB / 6.215 GB, free: 51.84 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007127/16.82, allocations: 43.55 kB / 6.215 GB, free: 51.8 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005362/16.83, allocations: 490 kB / 6.216 GB, free: 51.33 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004882/16.83, allocations: 0.5601 MB / 6.216 GB, free: 50.77 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04169/16.87, allocations: 15.08 MB / 6.231 GB, free: 35.67 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.9073/17.77, allocations: 62.64 MB / 6.292 GB, free: 89.55 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02576/17.8, allocations: 10.24 MB / 6.302 GB, free: 89.27 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01297/17.81, allocations: 5.61 MB / 6.308 GB, free: 89.2 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003116/17.82, allocations: 2.388 MB / 6.31 GB, free: 86.76 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02047/17.84, allocations: 5.779 MB / 6.315 GB, free: 86.55 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=704): time 2.023e-05/17.84, allocations: 1.969 kB / 6.315 GB, free: 86.55 MB / 0.9948 GB Notification: Performance of matching and sorting (n=704): time 0.04854/17.89, allocations: 13.93 MB / 6.329 GB, free: 86.19 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002313/17.89, allocations: 362 kB / 6.329 GB, free: 85.84 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03625/17.92, allocations: 11.23 MB / 6.34 GB, free: 85.27 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.002849/17.93, allocations: 172.5 kB / 6.341 GB, free: 85.24 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0104/17.94, allocations: 6.25 MB / 6.347 GB, free: 84.14 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006655/17.94, allocations: 2.448 MB / 6.349 GB, free: 82.91 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001493/17.94, allocations: 172.6 kB / 6.349 GB, free: 82.91 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.00101/17.95, allocations: 0.6462 MB / 6.35 GB, free: 82.58 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01187/17.96, allocations: 4.633 MB / 6.354 GB, free: 82.56 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01477/17.97, allocations: 6.94 MB / 6.361 GB, free: 80.02 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02712/18, allocations: 12.01 MB / 6.373 GB, free: 77.54 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002042/18, allocations: 19.97 kB / 6.373 GB, free: 77.54 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.04376/18.04, allocations: 13.03 MB / 6.386 GB, free: 76.77 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001796/18.04, allocations: 2.052 MB / 6.388 GB, free: 74.31 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002401/18.05, allocations: 61.72 kB / 6.388 GB, free: 74.31 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008962/18.05, allocations: 188 kB / 6.388 GB, free: 74.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0127/18.06, allocations: 2.22 MB / 6.39 GB, free: 74.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002418/18.06, allocations: 1.676 MB / 6.392 GB, free: 73.02 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0194/18.08, allocations: 1.51 MB / 6.393 GB, free: 72.74 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003516/18.08, allocations: 425.9 kB / 6.394 GB, free: 72.74 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/18.08, allocations: 4.312 kB / 6.394 GB, free: 72.74 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04413/18.13, allocations: 12.07 MB / 6.405 GB, free: 72.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004082/18.13, allocations: 66.09 kB / 6.405 GB, free: 72.55 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008659/18.13, allocations: 189.8 kB / 6.406 GB, free: 72.55 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01283/18.14, allocations: 2.22 MB / 6.408 GB, free: 72.54 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/18.14, allocations: 1.67 MB / 6.409 GB, free: 71.26 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01765/18.16, allocations: 1.359 MB / 6.411 GB, free: 70.86 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003408/18.17, allocations: 425 kB / 6.411 GB, free: 70.86 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.01748/18.18, allocations: 4.814 MB / 6.416 GB, free: 70.63 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007134/18.19, allocations: 1.101 MB / 6.417 GB, free: 70.06 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0438/18.23, allocations: 11.51 MB / 6.428 GB, free: 69.64 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001778/18.23, allocations: 74.08 kB / 6.428 GB, free: 69.64 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.614e-05/18.23, allocations: 8.375 kB / 6.428 GB, free: 69.64 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02983/18.26, allocations: 9.222 MB / 6.437 GB, free: 69.09 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09008/18.35, allocations: 25.98 MB / 6.463 GB, free: 66.85 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.511e-05/18.36, allocations: 11.38 kB / 6.463 GB, free: 66.85 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01169/18.37, allocations: 1.786 MB / 6.464 GB, free: 66.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007299/18.37, allocations: 118.8 kB / 6.464 GB, free: 66.78 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002717/18.37, allocations: 243.1 kB / 6.465 GB, free: 66.68 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/18.37, allocations: 1.595 MB / 6.466 GB, free: 65.25 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.434e-05/18.37, allocations: 17.66 kB / 6.466 GB, free: 65.25 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05387/18.43, allocations: 16.63 MB / 6.483 GB, free: 58.32 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01252/18.44, allocations: 2.891 MB / 6.485 GB, free: 56.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006485/18.45, allocations: 164.1 kB / 6.486 GB, free: 56.65 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0155/18.46, allocations: 0.8127 MB / 6.486 GB, free: 56.5 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002531/18.46, allocations: 457.6 kB / 6.487 GB, free: 56.42 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002931/18.47, allocations: 379.7 kB / 6.487 GB, free: 56.36 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.02207/18.49, allocations: 7.852 MB / 6.495 GB, free: 53.75 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.042e-06/18.49, allocations: 0 / 6.495 GB, free: 53.75 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.03897/18.53, allocations: 7.06 MB / 6.502 GB, free: 52.32 MB / 0.9948 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.007712/18.54, allocations: 2.137 MB / 6.504 GB, free: 51.73 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.05028/18.59, allocations: 17.3 MB / 6.521 GB, free: 46.03 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.116e-05/18.59, allocations: 11.2 kB / 6.521 GB, free: 46.02 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.01462/18.6, allocations: 5.049 MB / 6.526 GB, free: 44.25 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07367/18.67, allocations: 6.943 MB / 6.532 GB, free: 42.8 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0751/18.75, allocations: 34.6 MB / 6.566 GB, free: 19.7 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01946/18.77, allocations: 8.391 MB / 6.574 GB, free: 29.41 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.04017/18.81, allocations: 7.062 MB / 6.581 GB, free: 24.61 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008556/18.82, allocations: 1.077 MB / 6.582 GB, free: 23.68 MB / 1.01 GB Notification: Performance of SimCode: time 1.282e-06/18.82, allocations: 0 / 6.582 GB, free: 23.68 MB / 1.01 GB Notification: Performance of Templates: time 1.948/20.77, allocations: 250.4 MB / 6.827 GB, free: 109.7 MB / 1.026 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)