Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.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.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8094/0.8094, allocations: 133.7 MB / 148.6 MB, free: 13.65 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.001206/0.001206, allocations: 176 kB / 180.9 MB, free: 15.07 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.798/1.798, allocations: 170.7 MB / 383.7 MB, free: 16.15 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.001688/0.001688, allocations: 115.2 kB / 454.6 MB, free: 9.734 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.1915/0.192, allocations: 73.41 MB / 0.6812 GB, free: 5.562 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.209/7.401, allocations: 2.478 GB / 3.159 GB, free: 183.8 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/7.401, allocations: 107 kB / 3.16 GB, free: 183.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.63/13.03, allocations: 1.454 GB / 4.613 GB, free: 7.605 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.244e-06/13.03, allocations: 0 / 4.613 GB, free: 7.605 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.001898/13.03, allocations: 254.2 kB / 4.613 GB, free: 7.363 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1972 * Number of variables: 1972 Notification: Performance of Generate backend data structure: time 1.204/14.24, allocations: 10.76 MB / 4.624 GB, free: 49.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/14.24, allocations: 9.344 kB / 4.624 GB, free: 49.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01778/14.26, allocations: 2.18 MB / 4.626 GB, free: 48.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05782/14.31, allocations: 18.85 MB / 4.645 GB, free: 47.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001165/14.31, allocations: 0.6555 MB / 4.645 GB, free: 47.69 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004787/14.32, allocations: 0.7981 MB / 4.646 GB, free: 47.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0454/14.36, allocations: 11.09 MB / 4.657 GB, free: 46.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000861/14.37, allocations: 32.72 kB / 4.657 GB, free: 46.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004727/14.37, allocations: 323.1 kB / 4.657 GB, free: 46.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004752/14.37, allocations: 231.9 kB / 4.657 GB, free: 46.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03519/14.41, allocations: 10.42 MB / 4.668 GB, free: 46.35 MB / 0.698 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.1232/14.53, allocations: 47.04 MB / 4.713 GB, free: 27.26 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02015/14.55, allocations: 7.662 MB / 4.721 GB, free: 27.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04307/14.59, allocations: 14.68 MB / 4.735 GB, free: 23.47 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01201/14.6, allocations: 4.276 MB / 4.739 GB, free: 23.25 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008563/14.61, allocations: 0.6425 MB / 4.74 GB, free: 22.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=550): time 6.143e-05/14.61, allocations: 1.562 kB / 4.74 GB, free: 22.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=584): time 0.0868/14.7, allocations: 22.77 MB / 4.762 GB, free: 20.14 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002197/14.7, allocations: 406.3 kB / 4.763 GB, free: 19.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02022/14.72, allocations: 6.903 MB / 4.769 GB, free: 19.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.002648/14.72, allocations: 144.4 kB / 4.77 GB, free: 19.24 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.007841/14.73, allocations: 4.048 MB / 4.774 GB, free: 17.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.004668/14.74, allocations: 2.002 MB / 4.776 GB, free: 16.56 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002365/14.74, allocations: 139.6 kB / 4.776 GB, free: 16.56 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.001039/14.74, allocations: 0.5887 MB / 4.776 GB, free: 16.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01147/14.75, allocations: 4.024 MB / 4.78 GB, free: 16.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01599/14.77, allocations: 5.694 MB / 4.786 GB, free: 14.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01352/14.78, allocations: 5.021 MB / 4.791 GB, free: 14.29 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001188/14.78, allocations: 16.81 kB / 4.791 GB, free: 14.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=906) (initialization): time 0.04349/14.82, allocations: 11.36 MB / 4.802 GB, free: 10.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.009785/14.83, allocations: 21.4 MB / 4.823 GB, free: 3.773 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002484/14.83, allocations: 46.78 kB / 4.823 GB, free: 3.77 MB / 0.7137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002484/14.84, allocations: 0.5122 MB / 4.823 GB, free: 3.703 MB / 0.7137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01129/14.85, allocations: 1.841 MB / 4.825 GB, free: 3.648 MB / 0.7137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006096/14.85, allocations: 3.52 MB / 4.828 GB, free: 17.44 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01387/14.87, allocations: 0.7353 MB / 4.829 GB, free: 17.27 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003272/14.87, allocations: 347.8 kB / 4.829 GB, free: 17.21 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/14.87, allocations: 3.062 kB / 4.829 GB, free: 17.21 MB / 0.7293 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03653/14.91, allocations: 10.71 MB / 4.84 GB, free: 13.29 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002823/14.91, allocations: 44.3 kB / 4.84 GB, free: 13.29 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00232/14.91, allocations: 0.5349 MB / 4.84 GB, free: 13.2 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01121/14.92, allocations: 1.809 MB / 4.842 GB, free: 13.04 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006715/14.93, allocations: 3.551 MB / 4.846 GB, free: 10.79 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01512/14.94, allocations: 0.698 MB / 4.846 GB, free: 10.6 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004516/14.95, allocations: 348.8 kB / 4.847 GB, free: 10.54 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 191 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (873): * Single equations (assignments): 867 * Array equations: 1 * Algorithm blocks: 3 * Record equations: 1 * 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 17} Notification: Performance of prepare postOptimizeDAE: time 0.01581/14.96, allocations: 3.191 MB / 4.85 GB, free: 9.023 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004971/14.97, allocations: 0.7588 MB / 4.851 GB, free: 8.621 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03713/15.01, allocations: 10.2 MB / 4.861 GB, free: 4.66 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001593/15.01, allocations: 66.59 kB / 4.861 GB, free: 4.66 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.617e-05/15.01, allocations: 5.938 kB / 4.861 GB, free: 4.66 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02666/15.03, allocations: 8.308 MB / 4.869 GB, free: 488 kB / 0.7293 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 postOpt removeSimpleEquations (simulation): time 0.07745/15.11, allocations: 21.05 MB / 4.889 GB, free: 0.7305 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.226e-05/15.11, allocations: 18.48 kB / 4.889 GB, free: 0.7148 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01053/15.12, allocations: 1.46 MB / 4.891 GB, free: 0 / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.6517/15.77, allocations: 0.7924 MB / 4.892 GB, free: 92.37 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002004/15.78, allocations: 215.2 kB / 4.892 GB, free: 92.37 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005669/15.78, allocations: 10.12 MB / 4.902 GB, free: 83.6 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.876e-05/15.78, allocations: 16.03 kB / 4.902 GB, free: 83.6 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03898/15.82, allocations: 16.41 MB / 4.918 GB, free: 79.82 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01057/15.83, allocations: 2.014 MB / 4.92 GB, free: 79.72 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00585/15.84, allocations: 163.8 kB / 4.92 GB, free: 79.72 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0143/15.85, allocations: 0.8355 MB / 4.921 GB, free: 79.72 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002987/15.85, allocations: 395.6 kB / 4.921 GB, free: 79.7 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002521/15.86, allocations: 243.1 kB / 4.921 GB, free: 79.7 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 0.01893/15.88, allocations: 5.423 MB / 4.926 GB, free: 79.49 MB / 0.7449 GB Notification: Performance of sort global known variables: time 1.533e-06/15.88, allocations: 0 / 4.926 GB, free: 79.49 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.03443/15.91, allocations: 4.496 MB / 4.931 GB, free: 79.49 MB / 0.7449 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 27 (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,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.indTanHex.vol[1].dynBal.U,tan.indTanHex.vol[2].dynBal.U,tan.indTanHex.vol[3].dynBal.U,tan.indTanHex.vol[4].dynBal.U,tan.indTanHex.cap[1].T,tan.indTanHex.cap[2].T,tan.indTanHex.cap[3].T,tan.indTanHex.cap[4].T,pum.filter.x[1],pum.filter.x[2],exp.m,exp.H) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (597): * Single equations (assignments): 572 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 17 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 17 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.009576/15.92, allocations: 2.494 MB / 4.933 GB, free: 79.14 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.04613/15.97, allocations: 15.82 MB / 4.949 GB, free: 78.29 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 2.74e-05/15.97, allocations: 5.438 kB / 4.949 GB, free: 78.29 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.01373/15.98, allocations: 4.255 MB / 4.953 GB, free: 78.24 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03051/16.01, allocations: 4.255 MB / 4.957 GB, free: 78.15 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07335/16.08, allocations: 24.56 MB / 4.981 GB, free: 69.12 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01645/16.1, allocations: 6.175 MB / 4.987 GB, free: 68.08 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.02886/16.13, allocations: 4.238 MB / 4.991 GB, free: 67.62 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007291/16.14, allocations: 0.7547 MB / 4.992 GB, free: 67.61 MB / 0.7449 GB Notification: Performance of SimCode: time 1.793e-06/16.14, allocations: 4.688 kB / 4.992 GB, free: 67.61 MB / 0.7449 GB Notification: Performance of Templates: time 0.9339/17.07, allocations: 189.8 MB / 5.177 GB, free: 108.1 MB / 0.7605 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1)