Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.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.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8494/0.8494, allocations: 133.7 MB / 148.6 MB, free: 13.61 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.001399/0.001399, allocations: 176.1 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.863/1.863, 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.001717/0.001717, allocations: 123.2 kB / 454.6 MB, free: 9.719 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.1931/0.1936, allocations: 73.41 MB / 0.6812 GB, free: 5.562 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.405/6.599, allocations: 2.41 GB / 3.091 GB, free: 33.11 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/6.599, allocations: 101.7 kB / 3.092 GB, free: 33.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.684/9.283, allocations: 0.6703 GB / 3.762 GB, free: 66.6 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.797e-06/9.283, allocations: 0 / 3.762 GB, free: 66.6 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.003134/9.287, allocations: 284.2 kB / 3.762 GB, free: 66.54 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2205 * Number of variables: 2205 Notification: Performance of Generate backend data structure: time 0.06069/9.347, allocations: 12.13 MB / 3.774 GB, free: 61 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/9.347, allocations: 7.812 kB / 3.774 GB, free: 61 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0193/9.367, allocations: 2.151 MB / 3.776 GB, free: 60.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06778/9.434, allocations: 22.52 MB / 3.798 GB, free: 52.66 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009638/9.436, allocations: 0.6516 MB / 3.799 GB, free: 52.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006519/9.442, allocations: 0.8795 MB / 3.8 GB, free: 51.17 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0476/9.49, allocations: 12.7 MB / 3.812 GB, free: 39.53 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006031/9.49, allocations: 43.64 kB / 3.812 GB, free: 39.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004279/9.495, allocations: 371.9 kB / 3.812 GB, free: 39.12 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003094/9.495, allocations: 283.8 kB / 3.813 GB, free: 38.85 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03686/9.532, allocations: 11.51 MB / 3.824 GB, free: 27.33 MB / 0.6355 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.7192/10.25, allocations: 50.28 MB / 3.873 GB, free: 53.91 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01978/10.27, allocations: 7.844 MB / 3.881 GB, free: 53.68 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001477/10.27, allocations: 0.6738 MB / 3.881 GB, free: 53.11 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01255/10.29, allocations: 4.673 MB / 3.886 GB, free: 52.89 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=582): time 1.415e-05/10.29, allocations: 1.875 kB / 3.886 GB, free: 52.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=642): time 0.09744/10.38, allocations: 27.12 MB / 3.912 GB, free: 50.57 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000244/10.38, allocations: 327.2 kB / 3.913 GB, free: 50.25 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02859/10.41, allocations: 8.613 MB / 3.921 GB, free: 49.77 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.003202/10.41, allocations: 157.2 kB / 3.921 GB, free: 49.74 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.01047/10.43, allocations: 4.56 MB / 3.926 GB, free: 48.66 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.00611/10.43, allocations: 2.214 MB / 3.928 GB, free: 47.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002522/10.43, allocations: 153.3 kB / 3.928 GB, free: 47.54 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.00119/10.44, allocations: 0.6115 MB / 3.929 GB, free: 47.23 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01292/10.45, allocations: 4.416 MB / 3.933 GB, free: 47.21 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0169/10.47, allocations: 6.221 MB / 3.939 GB, free: 45.29 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01438/10.48, allocations: 5.554 MB / 3.944 GB, free: 45.11 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000107/10.48, allocations: 11.44 kB / 3.944 GB, free: 45.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=974) (initialization): time 0.05043/10.53, allocations: 13.42 MB / 3.958 GB, free: 44.32 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.01376/10.54, allocations: 25.85 MB / 3.983 GB, free: 33.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002817/10.54, allocations: 51.06 kB / 3.983 GB, free: 33.88 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008757/10.55, allocations: 1.818 MB / 3.985 GB, free: 33.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01218/10.57, allocations: 2.046 MB / 3.987 GB, free: 33.86 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02255/10.59, allocations: 10.88 MB / 3.997 GB, free: 29.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01769/10.61, allocations: 0.7087 MB / 3.998 GB, free: 29.03 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003366/10.61, allocations: 365.4 kB / 3.998 GB, free: 28.97 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/10.61, allocations: 6.062 kB / 3.998 GB, free: 28.97 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04505/10.65, allocations: 12.65 MB / 4.011 GB, free: 24.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003486/10.65, allocations: 51.62 kB / 4.011 GB, free: 24.8 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008555/10.66, allocations: 1.896 MB / 4.012 GB, free: 24.52 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01287/10.68, allocations: 2.041 MB / 4.014 GB, free: 24.46 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01995/10.7, allocations: 10.91 MB / 4.025 GB, free: 18.38 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01457/10.71, allocations: 0.7002 MB / 4.026 GB, free: 18.18 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003551/10.71, allocations: 365 kB / 4.026 GB, free: 18.12 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 223 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,$PRE.datRea.nextTimeEvent,datRea.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (912): * Single equations (assignments): 907 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 59,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.01506/10.73, allocations: 3.951 MB / 4.03 GB, free: 16.52 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006501/10.74, allocations: 0.881 MB / 4.031 GB, free: 16.05 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03896/10.77, allocations: 11.92 MB / 4.043 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001943/10.78, allocations: 77 kB / 4.043 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.116e-05/10.78, allocations: 0 / 4.043 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02945/10.8, allocations: 9.647 MB / 4.052 GB, free: 7.895 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07653/10.88, allocations: 23.78 MB / 4.075 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001061/10.88, allocations: 10.75 kB / 4.075 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009276/10.89, allocations: 1.48 MB / 4.077 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003628/10.89, allocations: 1.438 MB / 4.078 GB, free: 13.64 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002315/10.9, allocations: 262.8 kB / 4.078 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01692/10.91, allocations: 19.36 MB / 4.097 GB, free: 9.809 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.342e-05/10.91, allocations: 24 kB / 4.097 GB, free: 9.785 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6231/11.54, allocations: 20.71 MB / 4.118 GB, free: 115.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01397/11.55, allocations: 2.435 MB / 4.12 GB, free: 115 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005824/11.56, allocations: 194.6 kB / 4.12 GB, free: 115 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01414/11.57, allocations: 0.6817 MB / 4.121 GB, free: 115 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002385/11.57, allocations: 462 kB / 4.121 GB, free: 115 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00134/11.57, allocations: 293.8 kB / 4.121 GB, free: 115 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.02129/11.6, allocations: 6.755 MB / 4.128 GB, free: 114.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.71e-07/11.6, allocations: 2.531 kB / 4.128 GB, free: 114.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.03321/11.63, allocations: 4.925 MB / 4.133 GB, free: 114.7 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 30 (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,solCol.vol[10].dynBal.U,solCol.vol[11].dynBal.U,solCol.vol[12].dynBal.U,solCol.vol[13].dynBal.U,solCol.vol[14].dynBal.U,solCol.vol[15].dynBal.U,solCol.vol[16].dynBal.U,solCol.vol[17].dynBal.U,solCol.vol[18].dynBal.U,solCol.vol[19].dynBal.U,solCol.vol[20].dynBal.U,solCol.vol[21].dynBal.U,solCol.vol[22].dynBal.U,solCol.vol[23].dynBal.U,solCol.vol[24].dynBal.U,solCol.vol[25].dynBal.U,solCol.vol[26].dynBal.U,solCol.vol[27].dynBal.U,solCol.vol[28].dynBal.U,solCol.vol[29].dynBal.U,solCol.vol[30].dynBal.U) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart,datRea.nextTimeEvent) * Number of discrete states: 3 (datRea.nextTimeEvent,weaDat.conTim.tStart,weaDat.conTim1.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (628): * Single equations (assignments): 594 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 31 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 31 {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,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 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.006028/11.64, allocations: 1.906 MB / 4.135 GB, free: 114.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0526/11.69, allocations: 17.83 MB / 4.152 GB, free: 113.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.249e-05/11.69, allocations: 5.656 kB / 4.152 GB, free: 113.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.01492/11.7, allocations: 5.149 MB / 4.157 GB, free: 113.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03783/11.74, allocations: 5.657 MB / 4.163 GB, free: 113.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08191/11.82, allocations: 29.12 MB / 4.191 GB, free: 102.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01786/11.84, allocations: 7.164 MB / 4.198 GB, free: 101.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0298/11.87, allocations: 5.986 MB / 4.204 GB, free: 100.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007295/11.88, allocations: 0.8806 MB / 4.205 GB, free: 100.8 MB / 0.698 GB Notification: Performance of SimCode: time 3.066e-06/11.88, allocations: 0 / 4.205 GB, free: 100.8 MB / 0.698 GB Notification: Performance of Templates: time 1.029/12.91, allocations: 230.6 MB / 4.43 GB, free: 115.5 MB / 0.698 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & ./Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1)