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.7139/0.7139, allocations: 132.3 MB / 144.9 MB, free: 10.68 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.001052/0.001052, allocations: 172.9 kB / 176.9 MB, free: 2.188 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.263/1.263, allocations: 170.5 MB / 379.3 MB, free: 11.93 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.001578/0.001577, allocations: 115.1 kB / 450 MB, free: 5.844 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.3885/0.3885, allocations: 73.39 MB / 0.6736 GB, free: 47.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.116/5.504, allocations: 2.478 GB / 3.152 GB, free: 83.49 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/5.505, allocations: 96.33 kB / 3.152 GB, free: 83.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.232/10.74, allocations: 1.45 GB / 4.602 GB, free: 34.85 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.744e-06/10.74, allocations: 2.688 kB / 4.602 GB, free: 34.85 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.001539/10.74, allocations: 251.2 kB / 4.602 GB, free: 34.82 MB / 0.6823 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 0.03254/10.77, allocations: 8.932 MB / 4.611 GB, free: 31.27 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/10.77, allocations: 9.562 kB / 4.611 GB, free: 31.27 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01576/10.79, allocations: 2.177 MB / 4.613 GB, free: 30.65 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04568/10.83, allocations: 18.75 MB / 4.631 GB, free: 29.08 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008754/10.83, allocations: 0.6601 MB / 4.632 GB, free: 29.06 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003568/10.84, allocations: 0.7949 MB / 4.632 GB, free: 29.05 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02684/10.86, allocations: 10.59 MB / 4.643 GB, free: 27.74 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003881/10.86, allocations: 28.33 kB / 4.643 GB, free: 27.74 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002592/10.87, allocations: 328.2 kB / 4.643 GB, free: 27.74 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002324/10.87, allocations: 231.1 kB / 4.643 GB, free: 27.73 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02402/10.89, allocations: 9.538 MB / 4.653 GB, free: 27.67 MB / 0.6823 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.09845/10.99, allocations: 47.04 MB / 4.699 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01225/11, allocations: 7.114 MB / 4.706 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007682/11.01, allocations: 3.941 MB / 4.709 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03696/11.05, allocations: 14.87 MB / 4.724 GB, free: 13.58 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009378/11.06, allocations: 3.912 MB / 4.728 GB, free: 11.57 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006209/11.06, allocations: 0.6414 MB / 4.728 GB, free: 10.97 MB / 0.698 GB Notification: Performance of pre-optimization done (n=547): time 1.605e-05/11.06, allocations: 0 / 4.728 GB, free: 10.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=581): time 0.05638/11.12, allocations: 17.75 MB / 4.746 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000242/11.12, allocations: 401.4 kB / 4.746 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01746/11.14, allocations: 6.826 MB / 4.753 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.002299/11.14, allocations: 151.2 kB / 4.753 GB, free: 5.145 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.006773/11.15, allocations: 4.054 MB / 4.757 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.5478/11.69, allocations: 1.989 MB / 4.759 GB, free: 65.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001033/11.69, allocations: 139.9 kB / 4.759 GB, free: 65.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0007103/11.69, allocations: 0.5895 MB / 4.759 GB, free: 64.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006631/11.7, allocations: 3.677 MB / 4.763 GB, free: 64.89 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008708/11.71, allocations: 5.335 MB / 4.768 GB, free: 63.15 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008759/11.72, allocations: 4.691 MB / 4.773 GB, free: 62.95 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.866e-05/11.72, allocations: 11.75 kB / 4.773 GB, free: 62.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=903) (initialization): time 0.02939/11.75, allocations: 10.65 MB / 4.783 GB, free: 62.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.004626/11.75, allocations: 21.41 MB / 4.804 GB, free: 39.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001434/11.75, allocations: 41.88 kB / 4.804 GB, free: 39.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002359/11.76, allocations: 0.5151 MB / 4.805 GB, free: 39.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01011/11.77, allocations: 1.833 MB / 4.807 GB, free: 39.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005535/11.77, allocations: 3.363 MB / 4.81 GB, free: 38.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01253/11.78, allocations: 0.7674 MB / 4.811 GB, free: 38.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002931/11.79, allocations: 346.3 kB / 4.811 GB, free: 38.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/11.79, allocations: 5.281 kB / 4.811 GB, free: 38.66 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02754/11.81, allocations: 10.09 MB / 4.821 GB, free: 38.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000286/11.81, allocations: 43.59 kB / 4.821 GB, free: 38.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002085/11.82, allocations: 0.5358 MB / 4.821 GB, free: 38.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009433/11.83, allocations: 1.81 MB / 4.823 GB, free: 38.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005349/11.83, allocations: 3.387 MB / 4.826 GB, free: 37.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01186/11.84, allocations: 0.7421 MB / 4.827 GB, free: 37.11 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002952/11.85, allocations: 344.6 kB / 4.827 GB, free: 37.11 MB / 0.7136 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (870): * Single equations (assignments): 864 * 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.004785/11.85, allocations: 0.5023 MB / 4.828 GB, free: 37 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003843/11.86, allocations: 0.7649 MB / 4.829 GB, free: 37 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02596/11.88, allocations: 9.012 MB / 4.837 GB, free: 36.69 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001096/11.88, allocations: 69.67 kB / 4.838 GB, free: 36.69 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.791e-05/11.88, allocations: 2.062 kB / 4.838 GB, free: 36.69 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01314/11.89, allocations: 7.107 MB / 4.844 GB, free: 36.26 MB / 0.7136 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 postOpt removeSimpleEquations (simulation): time 0.04603/11.94, allocations: 19.67 MB / 4.864 GB, free: 34.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.291e-05/11.94, allocations: 12.16 kB / 4.864 GB, free: 34.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007072/11.95, allocations: 1.397 MB / 4.865 GB, free: 34.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001148/11.95, allocations: 36.16 kB / 4.865 GB, free: 34.64 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001251/11.95, allocations: 197 kB / 4.865 GB, free: 34.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.449e-05/11.95, allocations: 39.89 kB / 4.865 GB, free: 34.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/11.95, allocations: 17.08 kB / 4.865 GB, free: 34.63 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02517/11.97, allocations: 14.78 MB / 4.88 GB, free: 30.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007148/11.98, allocations: 2.02 MB / 4.882 GB, free: 29.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003951/11.99, allocations: 149.1 kB / 4.882 GB, free: 29.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01013/12, allocations: 0.8196 MB / 4.883 GB, free: 29.86 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001598/12, allocations: 406.1 kB / 4.883 GB, free: 29.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001622/12, allocations: 241.4 kB / 4.883 GB, free: 29.84 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.01215/12.01, allocations: 5.345 MB / 4.889 GB, free: 29.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.7e-07/12.01, allocations: 0 / 4.889 GB, free: 29.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.02351/12.03, allocations: 4.45 MB / 4.893 GB, free: 29.59 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 27 (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,tan.vol[1].ports[3].h_outflow,tan.vol[2].ports[3].h_outflow,tan.vol[3].ports[3].h_outflow,tan.vol[4].ports[3].h_outflow,tan.portHex_a.h_outflow,tan.portHex_b.h_outflow,tan.indTanHex.vol[2].ports[2].h_outflow,tan.indTanHex.vol[3].ports[2].h_outflow,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (645): * Single equations (assignments): 620 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 23 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006876/12.04, allocations: 2.518 MB / 4.895 GB, free: 29.13 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.03106/12.07, allocations: 15.04 MB / 4.91 GB, free: 27.89 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.2e-05/12.07, allocations: 5.844 kB / 4.91 GB, free: 27.89 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.007336/12.08, allocations: 3.774 MB / 4.914 GB, free: 27.71 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02222/12.1, allocations: 4.248 MB / 4.918 GB, free: 27.64 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03891/12.14, allocations: 18.02 MB / 4.935 GB, free: 23.52 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009812/12.15, allocations: 6.189 MB / 4.942 GB, free: 22.47 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.02792/12.18, allocations: 5.969 MB / 4.947 GB, free: 21.89 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004592/12.18, allocations: 0.626 MB / 4.948 GB, free: 21.87 MB / 0.7136 GB Notification: Performance of SimCode: time 1.182e-06/12.18, allocations: 0 / 4.948 GB, free: 21.87 MB / 0.7136 GB Notification: Performance of Templates: time 0.84/13.02, allocations: 193.4 MB / 5.137 GB, free: 88.15 MB / 0.7448 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)