Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7052/0.7052, allocations: 132.3 MB / 144.9 MB, free: 10.53 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009507/0.0009507, allocations: 173.5 kB / 176.9 MB, free: 2.289 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.213/1.213, allocations: 170.5 MB / 379.3 MB, free: 11.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001487/0.001487, allocations: 115.7 kB / 450 MB, free: 5.832 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.4071/0.4071, allocations: 73.39 MB / 0.6736 GB, free: 47.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.116/5.523, allocations: 2.41 GB / 3.083 GB, free: 198.3 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/5.523, allocations: 90.59 kB / 3.084 GB, free: 198.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.161/9.684, allocations: 1.084 GB / 4.168 GB, free: 33.73 MB / 0.6512 GB Notification: Performance of FrontEnd: time 3.036e-06/9.684, allocations: 1.844 kB / 4.168 GB, free: 33.73 MB / 0.6512 GB Notification: Performance of Transformations before backend: time 0.003061/9.687, allocations: 355.6 kB / 4.168 GB, free: 33.68 MB / 0.6512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2780 * Number of variables: 2780 Notification: Performance of Generate backend data structure: time 0.04841/9.736, allocations: 12.41 MB / 4.18 GB, free: 29.12 MB / 0.6512 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/9.736, allocations: 11.25 kB / 4.18 GB, free: 29.12 MB / 0.6512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02453/9.76, allocations: 3.089 MB / 4.183 GB, free: 28.27 MB / 0.6512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07426/9.834, allocations: 31.51 MB / 4.214 GB, free: 19.44 MB / 0.6512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009203/9.835, allocations: 0.8227 MB / 4.215 GB, free: 19.06 MB / 0.6512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005777/9.841, allocations: 1.107 MB / 4.216 GB, free: 18.69 MB / 0.6512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04299/9.884, allocations: 15.32 MB / 4.231 GB, free: 7.758 MB / 0.6512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006375/9.885, allocations: 47.59 kB / 4.231 GB, free: 7.711 MB / 0.6512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004359/9.889, allocations: 461.3 kB / 4.231 GB, free: 7.266 MB / 0.6512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002927/9.89, allocations: 348.6 kB / 4.232 GB, free: 6.945 MB / 0.6512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03749/9.927, allocations: 13.74 MB / 4.245 GB, free: 11.98 MB / 0.6668 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.6036/10.53, allocations: 61.85 MB / 4.305 GB, free: 48.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01825/10.55, allocations: 9.264 MB / 4.314 GB, free: 48.46 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009457/10.56, allocations: 5.22 MB / 4.32 GB, free: 48.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001862/10.56, allocations: 1.566 MB / 4.321 GB, free: 46.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01049/10.57, allocations: 5.53 MB / 4.326 GB, free: 46.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=736): time 1.111e-05/10.57, allocations: 0.875 kB / 4.326 GB, free: 46.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=808): time 0.05935/10.63, allocations: 26.88 MB / 4.353 GB, free: 44.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001578/10.63, allocations: 348.2 kB / 4.353 GB, free: 43.79 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01792/10.65, allocations: 10.5 MB / 4.363 GB, free: 43.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.002246/10.65, allocations: 185.4 kB / 4.363 GB, free: 43.15 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.005728/10.66, allocations: 5.776 MB / 4.369 GB, free: 41.81 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.003868/10.66, allocations: 2.787 MB / 4.372 GB, free: 40.24 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008881/10.66, allocations: 192.9 kB / 4.372 GB, free: 40.24 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000523/10.66, allocations: 0.6902 MB / 4.373 GB, free: 39.92 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006866/10.67, allocations: 5.084 MB / 4.378 GB, free: 39.89 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008239/10.68, allocations: 7.295 MB / 4.385 GB, free: 37.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0095/10.69, allocations: 6.417 MB / 4.391 GB, free: 37.37 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.183e-05/10.69, allocations: 19.56 kB / 4.391 GB, free: 37.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.03565/10.72, allocations: 15.66 MB / 4.406 GB, free: 36.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.01368/10.74, allocations: 33.61 MB / 4.439 GB, free: 33.38 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002381/10.74, allocations: 58.16 kB / 4.439 GB, free: 33.38 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008756/10.74, allocations: 2.064 MB / 4.441 GB, free: 33.34 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01304/10.76, allocations: 2.62 MB / 4.444 GB, free: 33.34 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01985/10.78, allocations: 12.81 MB / 4.456 GB, free: 28.71 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01536/10.79, allocations: 0.9918 MB / 4.457 GB, free: 28.48 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003191/10.8, allocations: 464 kB / 4.458 GB, free: 28.4 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/10.8, allocations: 5.75 kB / 4.458 GB, free: 28.4 MB / 0.7293 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03497/10.83, allocations: 14.7 MB / 4.472 GB, free: 23.61 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002282/10.83, allocations: 57.34 kB / 4.472 GB, free: 23.61 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008218/10.84, allocations: 2.162 MB / 4.474 GB, free: 23.27 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01266/10.85, allocations: 2.584 MB / 4.477 GB, free: 23.2 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01942/10.87, allocations: 12.85 MB / 4.489 GB, free: 15.62 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01563/10.89, allocations: 0.9559 MB / 4.49 GB, free: 15.39 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00291/10.89, allocations: 457.6 kB / 4.491 GB, free: 15.32 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 270 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1148): * Single equations (assignments): 1143 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 17,1 1,1 53} Notification: Performance of prepare postOptimizeDAE: time 0.00463/10.9, allocations: 0.6437 MB / 4.491 GB, free: 14.86 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004528/10.9, allocations: 1.107 MB / 4.492 GB, free: 14.29 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02411/10.92, allocations: 13.18 MB / 4.505 GB, free: 9.48 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.898e-05/10.92, allocations: 104.5 kB / 4.505 GB, free: 9.477 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/10.92, allocations: 0 / 4.505 GB, free: 9.477 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01494/10.94, allocations: 10.41 MB / 4.516 GB, free: 5.609 MB / 0.7293 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05882/11, allocations: 28.92 MB / 4.544 GB, free: 2.113 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.459e-05/11, allocations: 28 kB / 4.544 GB, free: 2.086 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01225/11.01, allocations: 2.142 MB / 4.546 GB, free: 360 kB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006621/11.01, allocations: 140.7 kB / 4.546 GB, free: 236 kB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002357/11.01, allocations: 318.6 kB / 4.546 GB, free: 0 / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4757/11.49, allocations: 1.55 MB / 4.548 GB, free: 114.3 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.162e-05/11.49, allocations: 43.88 kB / 4.548 GB, free: 114.3 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03122/11.52, allocations: 25.6 MB / 4.573 GB, free: 104.4 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01023/11.53, allocations: 3.029 MB / 4.576 GB, free: 104.3 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00423/11.53, allocations: 232.7 kB / 4.576 GB, free: 104.3 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01261/11.55, allocations: 0.8255 MB / 4.577 GB, free: 104.3 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001307/11.55, allocations: 0.6044 MB / 4.577 GB, free: 104.3 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001003/11.55, allocations: 384.1 kB / 4.578 GB, free: 104.3 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 0.01574/11.57, allocations: 8.207 MB / 4.586 GB, free: 104 MB / 0.7449 GB Notification: Performance of sort global known variables: time 9.12e-07/11.57, allocations: 1.406 kB / 4.586 GB, free: 104 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.02896/11.59, allocations: 6.045 MB / 4.592 GB, free: 104 MB / 0.7449 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 121 * Number of states: 40 (solCol.port_a.h_outflow,solCol.port_b.h_outflow,solCol.vol[2].ports[2].h_outflow,solCol.vol[3].ports[2].h_outflow,solCol.vol[4].ports[2].h_outflow,solCol.vol[5].ports[2].h_outflow,solCol.vol[6].ports[2].h_outflow,solCol.vol[7].ports[2].h_outflow,solCol.vol[8].ports[2].h_outflow,TOut.T,TIn.T,solCol1.port_a.h_outflow,solCol1.port_b.h_outflow,solCol1.vol[2].ports[2].h_outflow,solCol1.vol[3].ports[2].h_outflow,solCol1.vol[4].ports[2].h_outflow,solCol1.vol[5].ports[2].h_outflow,solCol1.vol[6].ports[2].h_outflow,solCol1.vol[7].ports[2].h_outflow,solCol1.vol[8].ports[2].h_outflow,solCol1.vol[9].ports[2].h_outflow,solCol1.vol[10].ports[2].h_outflow,solCol1.vol[11].ports[2].h_outflow,solCol1.vol[12].ports[2].h_outflow,solCol1.vol[13].ports[2].h_outflow,solCol1.vol[14].ports[2].h_outflow,solCol1.vol[15].ports[2].h_outflow,solCol1.vol[16].ports[2].h_outflow,solCol1.vol[17].ports[2].h_outflow,solCol1.vol[18].ports[2].h_outflow,solCol1.vol[19].ports[2].h_outflow,solCol1.vol[20].ports[2].h_outflow,solCol1.vol[21].ports[2].h_outflow,solCol1.vol[22].ports[2].h_outflow,solCol1.vol[23].ports[2].h_outflow,solCol1.vol[24].ports[2].h_outflow,solCol1.vol[25].ports[2].h_outflow,solCol1.vol[26].ports[2].h_outflow,TOut1.T,TIn1.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (904): * Single equations (assignments): 857 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 44 * 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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.005331/11.6, allocations: 2.141 MB / 4.594 GB, free: 103.7 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.04352/11.64, allocations: 21.14 MB / 4.614 GB, free: 102.5 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 4.292e-05/11.64, allocations: 8.312 kB / 4.615 GB, free: 102.5 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.009984/11.65, allocations: 5.546 MB / 4.62 GB, free: 102.3 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03327/11.69, allocations: 6.992 MB / 4.627 GB, free: 102.2 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05438/11.74, allocations: 27.68 MB / 4.654 GB, free: 96.19 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0119/11.75, allocations: 8.706 MB / 4.662 GB, free: 95.07 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.04085/11.79, allocations: 10.61 MB / 4.673 GB, free: 93.4 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006032/11.8, allocations: 0.9228 MB / 4.674 GB, free: 93.4 MB / 0.7449 GB Notification: Performance of SimCode: time 1.302e-06/11.8, allocations: 3.938 kB / 4.674 GB, free: 93.39 MB / 0.7449 GB Notification: Performance of Templates: time 0.8123/12.61, allocations: 298.6 MB / 4.965 GB, free: 95.17 MB / 0.7449 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1)