Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.885/1.885, allocations: 297.8 MB / 313.7 MB, free: 148 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 172.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.661/1.661, allocations: 223.2 MB / 0.6626 GB, free: 4.262 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009261/0.000926, allocations: 93.11 kB / 0.7808 GB, free: 50.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004778, allocations: 12 kB / 0.9088 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9348/0.9353, allocations: 120.3 MB / 1.026 GB, free: 55.88 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.768/5.703, allocations: 2.192 GB / 3.218 GB, free: 37.67 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/5.704, allocations: 99.94 kB / 3.218 GB, free: 37.57 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 11.9/17.6, allocations: 2.832 GB / 6.05 GB, free: 102.2 MB / 1.026 GB Notification: Performance of FrontEnd: time 3.236e-06/17.6, allocations: 0.7812 kB / 6.05 GB, free: 102.2 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.004237/17.61, allocations: 375.7 kB / 6.05 GB, free: 102.1 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2975 * Number of variables: 2975 Notification: Performance of Generate backend data structure: time 0.0647/17.67, allocations: 14.58 MB / 6.065 GB, free: 96.78 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/17.67, allocations: 11.03 kB / 6.065 GB, free: 96.78 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02242/17.69, allocations: 3.084 MB / 6.068 GB, free: 95.95 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05627/17.75, allocations: 17.56 MB / 6.085 GB, free: 93.84 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001615/17.75, allocations: 0.8249 MB / 6.086 GB, free: 93.81 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008139/17.76, allocations: 1.112 MB / 6.087 GB, free: 93.8 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06125/17.82, allocations: 16.95 MB / 6.103 GB, free: 92.12 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001012/17.82, allocations: 39 kB / 6.103 GB, free: 92.12 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007128/17.83, allocations: 489.9 kB / 6.104 GB, free: 92.12 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007551/17.83, allocations: 0.5631 MB / 6.104 GB, free: 92.1 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04446/17.88, allocations: 15.23 MB / 6.119 GB, free: 92 MB / 1.026 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.1328/18.01, allocations: 63.01 MB / 6.181 GB, free: 69.25 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02399/18.03, allocations: 10.21 MB / 6.191 GB, free: 66.87 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01281/18.05, allocations: 5.653 MB / 6.196 GB, free: 64.82 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002921/18.05, allocations: 2.386 MB / 6.199 GB, free: 62.33 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01798/18.07, allocations: 5.818 MB / 6.204 GB, free: 60.41 MB / 1.026 GB Notification: Performance of pre-optimization done (n=706): time 2.345e-05/18.07, allocations: 0 / 6.204 GB, free: 60.41 MB / 1.026 GB Notification: Performance of matching and sorting (n=706): time 0.04587/18.11, allocations: 14.06 MB / 6.218 GB, free: 55.34 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001726/18.11, allocations: 369.2 kB / 6.218 GB, free: 54.98 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03095/18.14, allocations: 11.26 MB / 6.229 GB, free: 51.24 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.002788/18.15, allocations: 171.1 kB / 6.229 GB, free: 51.11 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.01037/18.16, allocations: 6.258 MB / 6.236 GB, free: 46.31 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.005528/18.16, allocations: 2.45 MB / 6.238 GB, free: 44.43 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002512/18.16, allocations: 174.2 kB / 6.238 GB, free: 44.29 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.001314/18.17, allocations: 0.6509 MB / 6.239 GB, free: 43.84 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0117/18.18, allocations: 4.668 MB / 6.243 GB, free: 42.25 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01404/18.19, allocations: 6.977 MB / 6.25 GB, free: 37.91 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02574/18.22, allocations: 12.08 MB / 6.262 GB, free: 30.8 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001069/18.22, allocations: 20 kB / 6.262 GB, free: 30.79 MB / 1.026 GB Notification: Performance of matching and sorting (n=1099) (initialization): time 0.04634/18.26, allocations: 13.11 MB / 6.275 GB, free: 19.38 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.001558/18.27, allocations: 2.05 MB / 6.277 GB, free: 16.45 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001649/18.27, allocations: 64 kB / 6.277 GB, free: 16.39 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007886/18.27, allocations: 190.2 kB / 6.277 GB, free: 16.23 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01267/18.28, allocations: 2.233 MB / 6.279 GB, free: 14.38 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/18.28, allocations: 1.679 MB / 6.281 GB, free: 12.65 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01797/18.3, allocations: 1.523 MB / 6.282 GB, free: 11.34 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003471/18.3, allocations: 432.7 kB / 6.283 GB, free: 10.97 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/18.3, allocations: 6.156 kB / 6.283 GB, free: 10.97 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03533/18.34, allocations: 12.15 MB / 6.295 GB, free: 0.5312 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002281/18.34, allocations: 64 kB / 6.295 GB, free: 480 kB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006776/18.34, allocations: 186.9 kB / 6.295 GB, free: 312 kB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0203/18.36, allocations: 2.893 MB / 6.298 GB, free: 15.88 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002843/18.36, allocations: 1.684 MB / 6.299 GB, free: 14.14 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01721/18.38, allocations: 1.377 MB / 6.301 GB, free: 12.98 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003282/18.38, allocations: 427.3 kB / 6.301 GB, free: 12.61 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 (1097): * Single equations (assignments): 1096 * 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.01746/18.4, allocations: 4.821 MB / 6.306 GB, free: 8.645 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006674/18.41, allocations: 1.105 MB / 6.307 GB, free: 7.527 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.8959/19.3, allocations: 12.26 MB / 6.319 GB, free: 108.6 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000146/19.3, allocations: 71.36 kB / 6.319 GB, free: 108.6 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.19e-05/19.3, allocations: 1.562 kB / 6.319 GB, free: 108.6 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02808/19.33, allocations: 9.303 MB / 6.328 GB, free: 108.1 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08064/19.41, allocations: 26.13 MB / 6.353 GB, free: 106.6 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.149e-05/19.41, allocations: 15.19 kB / 6.353 GB, free: 106.6 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01023/19.42, allocations: 1.799 MB / 6.355 GB, free: 106.6 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006709/19.42, allocations: 122.6 kB / 6.355 GB, free: 106.5 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002158/19.43, allocations: 244.4 kB / 6.356 GB, free: 106.5 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/19.43, allocations: 1.589 MB / 6.357 GB, free: 105.3 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/19.43, allocations: 17.03 kB / 6.357 GB, free: 105.3 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04138/19.47, allocations: 16.77 MB / 6.374 GB, free: 104.1 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01175/19.48, allocations: 2.899 MB / 6.376 GB, free: 103.9 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006207/19.49, allocations: 168.8 kB / 6.377 GB, free: 103.9 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01441/19.5, allocations: 0.8281 MB / 6.377 GB, free: 103.9 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002389/19.5, allocations: 456.7 kB / 6.378 GB, free: 103.8 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002736/19.51, allocations: 378.3 kB / 6.378 GB, free: 103.8 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.02177/19.53, allocations: 7.88 MB / 6.386 GB, free: 103.6 MB / 1.042 GB Notification: Performance of sort global known variables: time 8.22e-07/19.53, allocations: 1.375 kB / 6.386 GB, free: 103.6 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.04069/19.57, allocations: 7.113 MB / 6.393 GB, free: 103.1 MB / 1.042 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 (732): * Single equations (assignments): 719 * 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.01095/19.58, allocations: 2.178 MB / 6.395 GB, free: 102.8 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.05021/19.63, allocations: 17.42 MB / 6.412 GB, free: 102.4 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.217e-05/19.63, allocations: 14.09 kB / 6.412 GB, free: 102.4 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0157/19.65, allocations: 5.093 MB / 6.417 GB, free: 102.2 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08061/19.73, allocations: 6.946 MB / 6.424 GB, free: 102.1 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09164/19.82, allocations: 34.74 MB / 6.458 GB, free: 89.8 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02416/19.84, allocations: 8.407 MB / 6.466 GB, free: 88.68 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.04254/19.89, allocations: 6.907 MB / 6.473 GB, free: 87.61 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009913/19.9, allocations: 1.08 MB / 6.474 GB, free: 87.59 MB / 1.042 GB Notification: Performance of SimCode: time 2.094e-06/19.9, allocations: 0 / 6.474 GB, free: 87.59 MB / 1.042 GB Notification: Performance of Templates: time 1.264/21.16, allocations: 251.1 MB / 6.719 GB, free: 156.4 MB / 1.089 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1)