Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.627/2.627, allocations: 284.8 MB / 297.3 MB, free: 6.395 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001466/0.001466, allocations: 176.9 kB / 365.7 MB, free: 2.594 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.908/1.908, allocations: 205.1 MB / 0.6241 GB, free: 8.207 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 98.28 kB / 0.7372 GB, free: 40.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.819e-05/3.835e-05, allocations: 4 kB / 0.8574 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7961/0.7961, allocations: 115.2 MB / 0.97 GB, free: 77.94 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.108/7.904, allocations: 2.411 GB / 3.381 GB, free: 43.59 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000333/7.905, allocations: 96.41 kB / 3.381 GB, free: 43.54 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 14.02/21.93, allocations: 2.52 GB / 5.901 GB, free: 118 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.434e-06/21.93, allocations: 4 kB / 5.901 GB, free: 118 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001903/21.93, allocations: 261.2 kB / 5.901 GB, free: 118 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2036 * Number of variables: 2036 Notification: Performance of Generate backend data structure: time 0.03794/21.97, allocations: 8.902 MB / 5.91 GB, free: 112.3 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/21.97, allocations: 6.812 kB / 5.91 GB, free: 112.3 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01953/21.99, allocations: 2.039 MB / 5.912 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04705/22.04, allocations: 11.77 MB / 5.924 GB, free: 98.59 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008907/22.04, allocations: 0.5974 MB / 5.924 GB, free: 97.99 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004202/22.04, allocations: 0.8006 MB / 5.925 GB, free: 97.19 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03901/22.08, allocations: 10.81 MB / 5.936 GB, free: 86.06 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004912/22.08, allocations: 31.77 kB / 5.936 GB, free: 86.03 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003385/22.08, allocations: 339.9 kB / 5.936 GB, free: 85.7 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000378/22.08, allocations: 331 kB / 5.936 GB, free: 85.37 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03081/22.11, allocations: 9.609 MB / 5.946 GB, free: 75.75 MB / 0.9948 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.1086/22.22, allocations: 45.27 MB / 5.99 GB, free: 28.68 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01958/22.24, allocations: 7.454 MB / 5.997 GB, free: 21.25 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009384/22.25, allocations: 3.72 MB / 6.001 GB, free: 17.52 MB / 0.9948 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 evalFunc (simulation): time 0.06543/22.32, allocations: 18.35 MB / 6.019 GB, free: 14.35 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01246/22.33, allocations: 3.382 MB / 6.022 GB, free: 10.95 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008162/22.34, allocations: 0.7674 MB / 6.023 GB, free: 10.18 MB / 1.01 GB Notification: Performance of pre-optimization done (n=509): time 1.895e-05/22.34, allocations: 0 / 6.023 GB, free: 10.18 MB / 1.01 GB Notification: Performance of matching and sorting (n=509): time 0.02536/22.36, allocations: 6.156 MB / 6.029 GB, free: 4.008 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002333/22.36, allocations: 364.4 kB / 6.029 GB, free: 3.578 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.928/23.29, allocations: 7.062 MB / 6.036 GB, free: 133.2 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.002123/23.29, allocations: 135.4 kB / 6.036 GB, free: 133.1 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0081/23.3, allocations: 4.354 MB / 6.04 GB, free: 132.6 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.003595/23.31, allocations: 1.764 MB / 6.042 GB, free: 131.7 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001034/23.31, allocations: 131 kB / 6.042 GB, free: 131.7 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0006116/23.31, allocations: 0.5588 MB / 6.043 GB, free: 131.4 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009953/23.32, allocations: 3.065 MB / 6.046 GB, free: 131.4 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01273/23.33, allocations: 4.796 MB / 6.05 GB, free: 129.5 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01179/23.34, allocations: 3.958 MB / 6.054 GB, free: 129.4 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001037/23.34, allocations: 13.59 kB / 6.054 GB, free: 129.4 MB / 1.01 GB Notification: Performance of matching and sorting (n=826) (initialization): time 0.03142/23.37, allocations: 8.954 MB / 6.063 GB, free: 128.8 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.005127/23.38, allocations: 23.76 MB / 6.086 GB, free: 103.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003069/23.38, allocations: 45.03 kB / 6.086 GB, free: 103.9 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000803/23.38, allocations: 156.4 kB / 6.086 GB, free: 103.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0156/23.4, allocations: 1.688 MB / 6.088 GB, free: 103.9 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009157/23.4, allocations: 0.7137 MB / 6.089 GB, free: 103.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01564/23.41, allocations: 0.6926 MB / 6.089 GB, free: 103.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002439/23.42, allocations: 310.4 kB / 6.09 GB, free: 103.4 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/23.42, allocations: 5.031 kB / 6.09 GB, free: 103.4 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02953/23.45, allocations: 8.257 MB / 6.098 GB, free: 103.2 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002125/23.45, allocations: 51.55 kB / 6.098 GB, free: 103.2 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006085/23.45, allocations: 166.5 kB / 6.098 GB, free: 103.2 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01558/23.46, allocations: 1.676 MB / 6.1 GB, free: 103.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008989/23.46, allocations: 0.7137 MB / 6.1 GB, free: 102.6 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01506/23.48, allocations: 0.6671 MB / 6.101 GB, free: 102.6 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002403/23.48, allocations: 310.1 kB / 6.101 GB, free: 102.6 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 210 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (819): * Single equations (assignments): 815 * Array equations: 2 * Algorithm blocks: 0 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.003348/23.48, allocations: 496.9 kB / 6.102 GB, free: 102.5 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00321/23.49, allocations: 0.7663 MB / 6.102 GB, free: 102.1 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02945/23.52, allocations: 7.394 MB / 6.11 GB, free: 101.7 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.615e-05/23.52, allocations: 54.62 kB / 6.11 GB, free: 101.7 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.735e-05/23.52, allocations: 0 / 6.11 GB, free: 101.7 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01965/23.54, allocations: 5.754 MB / 6.115 GB, free: 101.3 MB / 1.01 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.06006/23.6, allocations: 16.74 MB / 6.132 GB, free: 100.4 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.153e-05/23.6, allocations: 0 / 6.132 GB, free: 100.4 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01215/23.61, allocations: 1.154 MB / 6.133 GB, free: 100.4 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004917/23.61, allocations: 88.84 kB / 6.133 GB, free: 100.4 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001672/23.61, allocations: 154.1 kB / 6.133 GB, free: 100.4 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006846/23.61, allocations: 0.6176 MB / 6.134 GB, free: 99.88 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/23.61, allocations: 8.766 kB / 6.134 GB, free: 99.88 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03581/23.65, allocations: 10.76 MB / 6.144 GB, free: 98.79 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009243/23.66, allocations: 1.931 MB / 6.146 GB, free: 98.28 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004413/23.66, allocations: 113.7 kB / 6.146 GB, free: 98.28 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01426/23.68, allocations: 0.5894 MB / 6.147 GB, free: 98.27 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001722/23.68, allocations: 313.3 kB / 6.147 GB, free: 98.25 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001893/23.68, allocations: 228.7 kB / 6.147 GB, free: 98.25 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.01624/23.7, allocations: 5.548 MB / 6.153 GB, free: 97.96 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.132e-06/23.7, allocations: 3.812 kB / 6.153 GB, free: 97.96 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.03035/23.73, allocations: 5.267 MB / 6.158 GB, free: 97.36 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (534): * Single equations (assignments): 523 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.008262/23.73, allocations: 2.458 MB / 6.16 GB, free: 96.94 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.03481/23.77, allocations: 11.73 MB / 6.172 GB, free: 96.66 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.119e-05/23.77, allocations: 7.531 kB / 6.172 GB, free: 96.65 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.009554/23.78, allocations: 3.147 MB / 6.175 GB, free: 96.58 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03458/23.81, allocations: 4.12 MB / 6.179 GB, free: 96.53 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05017/23.86, allocations: 16.82 MB / 6.195 GB, free: 93.21 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01464/23.88, allocations: 6.19 MB / 6.201 GB, free: 92.16 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.05795/23.94, allocations: 5.919 MB / 6.207 GB, free: 91.66 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00709/23.94, allocations: 0.5781 MB / 6.208 GB, free: 91.65 MB / 1.01 GB Notification: Performance of SimCode: time 2.425e-06/23.94, allocations: 0 / 6.208 GB, free: 91.65 MB / 1.01 GB Notification: Performance of Templates: time 0.495/24.44, allocations: 179 MB / 6.382 GB, free: 13.87 MB / 1.026 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1)