Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.27/1.27, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 176.9 kB / 327.6 MB, free: 2.152 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.4 MB / 0.5785 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007023/0.0007024, allocations: 94.3 kB / 0.6831 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004915, allocations: 13.03 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1856, allocations: 106.3 MB / 0.9012 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.56/5.745, allocations: 2.475 GB / 3.376 GB, free: 77.98 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/5.746, allocations: 99.95 kB / 3.376 GB, free: 77.88 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 9.143/14.89, allocations: 2.758 GB / 6.134 GB, free: 75.65 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.775e-06/14.89, allocations: 0 / 6.134 GB, free: 75.65 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.002673/14.89, allocations: 379.8 kB / 6.134 GB, free: 75.31 MB / 0.9167 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.04284/14.93, allocations: 14.51 MB / 6.148 GB, free: 60.88 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/14.93, allocations: 8.031 kB / 6.148 GB, free: 60.87 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01779/14.95, allocations: 3.01 MB / 6.151 GB, free: 57.84 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03874/14.99, allocations: 17.47 MB / 6.168 GB, free: 40.65 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007361/14.99, allocations: 0.8211 MB / 6.169 GB, free: 39.84 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003998/15, allocations: 1.1 MB / 6.17 GB, free: 38.74 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04089/15.04, allocations: 16.62 MB / 6.186 GB, free: 21.62 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000403/15.04, allocations: 39.66 kB / 6.186 GB, free: 21.58 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002518/15.04, allocations: 476.5 kB / 6.187 GB, free: 21.12 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004031/15.04, allocations: 0.5601 MB / 6.187 GB, free: 20.55 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03238/15.07, allocations: 15.08 MB / 6.202 GB, free: 5.453 MB / 0.9167 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.6134/15.69, allocations: 62.45 MB / 6.263 GB, free: 89.95 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01824/15.7, allocations: 10.23 MB / 6.273 GB, free: 89.68 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00944/15.71, allocations: 5.613 MB / 6.279 GB, free: 89.61 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002184/15.72, allocations: 2.386 MB / 6.281 GB, free: 87.16 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01126/15.73, allocations: 5.655 MB / 6.286 GB, free: 86.95 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=704): time 1.095e-05/15.73, allocations: 0 / 6.286 GB, free: 86.95 MB / 0.9323 GB Notification: Performance of matching and sorting (n=704): time 0.03295/15.76, allocations: 13.93 MB / 6.3 GB, free: 86.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/15.76, allocations: 360.6 kB / 6.3 GB, free: 86.14 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01632/15.78, allocations: 11.22 MB / 6.311 GB, free: 85.52 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.001919/15.78, allocations: 166.1 kB / 6.312 GB, free: 85.49 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.005363/15.78, allocations: 6.248 MB / 6.318 GB, free: 83.99 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.003396/15.79, allocations: 2.455 MB / 6.32 GB, free: 82.75 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005942/15.79, allocations: 166.5 kB / 6.32 GB, free: 82.75 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.00039/15.79, allocations: 0.6575 MB / 6.321 GB, free: 82.43 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008196/15.8, allocations: 4.622 MB / 6.325 GB, free: 82.41 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008776/15.81, allocations: 6.941 MB / 6.332 GB, free: 79.87 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01841/15.82, allocations: 12.01 MB / 6.344 GB, free: 77.38 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-05/15.82, allocations: 23.27 kB / 6.344 GB, free: 77.38 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.03011/15.85, allocations: 13.03 MB / 6.357 GB, free: 76.62 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.001277/15.86, allocations: 2.046 MB / 6.359 GB, free: 74.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.193e-05/15.86, allocations: 61.34 kB / 6.359 GB, free: 74.16 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006882/15.86, allocations: 193.2 kB / 6.359 GB, free: 74.15 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01175/15.87, allocations: 2.217 MB / 6.361 GB, free: 74.15 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/15.87, allocations: 1.668 MB / 6.363 GB, free: 72.86 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01473/15.88, allocations: 1.514 MB / 6.364 GB, free: 72.44 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002476/15.89, allocations: 425.2 kB / 6.365 GB, free: 72.44 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/15.89, allocations: 3.188 kB / 6.365 GB, free: 72.44 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03035/15.92, allocations: 12.08 MB / 6.376 GB, free: 72.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000266/15.92, allocations: 70.06 kB / 6.376 GB, free: 72.25 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006727/15.92, allocations: 184.8 kB / 6.377 GB, free: 72.25 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01116/15.93, allocations: 2.211 MB / 6.379 GB, free: 72.25 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/15.93, allocations: 1.683 MB / 6.38 GB, free: 70.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01389/15.95, allocations: 1.349 MB / 6.382 GB, free: 70.55 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00274/15.95, allocations: 425.3 kB / 6.382 GB, free: 70.55 MB / 0.9323 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.01294/15.96, allocations: 4.806 MB / 6.387 GB, free: 70.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004702/15.97, allocations: 1.101 MB / 6.388 GB, free: 69.73 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0321/16, allocations: 11.52 MB / 6.399 GB, free: 69.29 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.678e-05/16, allocations: 75.09 kB / 6.399 GB, free: 69.29 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.072e-05/16, allocations: 2.625 kB / 6.399 GB, free: 69.29 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02221/16.02, allocations: 9.22 MB / 6.408 GB, free: 68.75 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06345/16.08, allocations: 25.85 MB / 6.433 GB, free: 61.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.751e-05/16.08, allocations: 11.72 kB / 6.433 GB, free: 61.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009468/16.09, allocations: 1.784 MB / 6.435 GB, free: 61.78 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005808/16.09, allocations: 115.7 kB / 6.435 GB, free: 61.77 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001839/16.1, allocations: 247.8 kB / 6.436 GB, free: 61.66 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/16.1, allocations: 1.594 MB / 6.437 GB, free: 60.22 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/16.1, allocations: 19.47 kB / 6.437 GB, free: 60.21 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03749/16.13, allocations: 16.62 MB / 6.453 GB, free: 53.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01096/16.15, allocations: 2.829 MB / 6.456 GB, free: 51.66 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006424/16.15, allocations: 166.8 kB / 6.456 GB, free: 51.55 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01238/16.16, allocations: 0.8075 MB / 6.457 GB, free: 51.35 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001893/16.17, allocations: 450.7 kB / 6.457 GB, free: 51.27 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002118/16.17, allocations: 349.5 kB / 6.458 GB, free: 51.21 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.01811/16.19, allocations: 7.849 MB / 6.465 GB, free: 48.6 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.51e-07/16.19, allocations: 0 / 6.465 GB, free: 48.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.03255/16.22, allocations: 7.044 MB / 6.472 GB, free: 47.17 MB / 0.9323 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.00633/16.23, allocations: 2.114 MB / 6.474 GB, free: 46.46 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.04217/16.27, allocations: 17.3 MB / 6.491 GB, free: 34.44 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-05/16.27, allocations: 11 kB / 6.491 GB, free: 34.43 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01296/16.28, allocations: 5.04 MB / 6.496 GB, free: 30.11 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05751/16.34, allocations: 6.928 MB / 6.503 GB, free: 25.14 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05692/16.4, allocations: 34.6 MB / 6.537 GB, free: 9.887 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01344/16.41, allocations: 8.391 MB / 6.545 GB, free: 3.598 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.03059/16.44, allocations: 7.014 MB / 6.552 GB, free: 14.83 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005886/16.45, allocations: 1.076 MB / 6.553 GB, free: 13.9 MB / 0.9636 GB Notification: Performance of SimCode: time 8.62e-07/16.45, allocations: 0 / 6.553 GB, free: 13.9 MB / 0.9636 GB Notification: Performance of Templates: time 1.373/17.82, allocations: 248 MB / 6.795 GB, free: 112.5 MB / 0.9793 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1)