Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.976/1.976, allocations: 288.4 MB / 304.3 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 181.3 kB / 373 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.4 MB / 0.6317 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009048/0.0009047, allocations: 106.8 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006229/0.0006232, allocations: 12.56 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3078, allocations: 115.3 MB / 0.9807 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.64/6.947, allocations: 2.412 GB / 3.392 GB, free: 257.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/6.948, allocations: 108.6 kB / 3.392 GB, free: 257.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.482/16.43, allocations: 2.513 GB / 5.906 GB, free: 57.9 MB / 1.01 GB Notification: Performance of FrontEnd: time 3.115e-06/16.43, allocations: 0 / 5.906 GB, free: 57.9 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.002175/16.43, allocations: 268.1 kB / 5.906 GB, free: 57.86 MB / 1.01 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.04499/16.48, allocations: 10.69 MB / 5.916 GB, free: 53.71 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/16.48, allocations: 10.12 kB / 5.916 GB, free: 53.71 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01552/16.49, allocations: 2.04 MB / 5.918 GB, free: 53.12 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03897/16.53, allocations: 11.53 MB / 5.93 GB, free: 51.57 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001141/16.53, allocations: 0.6016 MB / 5.93 GB, free: 51.56 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004667/16.54, allocations: 0.8002 MB / 5.931 GB, free: 51.55 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03712/16.57, allocations: 11.27 MB / 5.942 GB, free: 50.45 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004181/16.57, allocations: 29.44 kB / 5.942 GB, free: 50.45 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003203/16.58, allocations: 336 kB / 5.942 GB, free: 50.45 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002996/16.58, allocations: 332.5 kB / 5.943 GB, free: 50.43 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02853/16.61, allocations: 10.32 MB / 5.953 GB, free: 50.37 MB / 1.01 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.08773/16.69, allocations: 44.97 MB / 5.997 GB, free: 33.36 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01535/16.71, allocations: 7.726 MB / 6.004 GB, free: 33.07 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008066/16.72, allocations: 4.048 MB / 6.008 GB, free: 33.01 MB / 1.01 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 evalFunc (simulation): time 0.0359/16.75, allocations: 18.01 MB / 6.026 GB, free: 28.48 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00647/16.76, allocations: 3.627 MB / 6.029 GB, free: 28.37 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006348/16.77, allocations: 0.7307 MB / 6.03 GB, free: 28.11 MB / 1.01 GB Notification: Performance of pre-optimization done (n=509): time 3.893e-05/16.77, allocations: 0 / 6.03 GB, free: 28.11 MB / 1.01 GB Notification: Performance of matching and sorting (n=509): time 0.02778/16.79, allocations: 9.392 MB / 6.039 GB, free: 27.47 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/16.8, allocations: 365.6 kB / 6.039 GB, free: 27.09 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0189/16.81, allocations: 7.43 MB / 6.047 GB, free: 26.55 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.002/16.82, allocations: 136.5 kB / 6.047 GB, free: 26.52 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.005695/16.82, allocations: 4.356 MB / 6.051 GB, free: 25 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002956/16.82, allocations: 1.752 MB / 6.053 GB, free: 23.88 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006563/16.83, allocations: 137.8 kB / 6.053 GB, free: 23.88 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0004653/16.83, allocations: 0.5613 MB / 6.054 GB, free: 23.57 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006324/16.83, allocations: 3.297 MB / 6.057 GB, free: 23.55 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007732/16.84, allocations: 5.07 MB / 6.062 GB, free: 21.64 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01587/16.86, allocations: 8.434 MB / 6.07 GB, free: 19.83 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.167e-05/16.86, allocations: 14.22 kB / 6.07 GB, free: 19.83 MB / 1.01 GB Notification: Performance of matching and sorting (n=826) (initialization): time 0.02626/16.88, allocations: 9.419 MB / 6.079 GB, free: 19.23 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001129/16.88, allocations: 1.503 MB / 6.081 GB, free: 17.42 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-05/16.88, allocations: 46.41 kB / 6.081 GB, free: 17.42 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005304/16.88, allocations: 169.3 kB / 6.081 GB, free: 17.41 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008515/16.89, allocations: 1.598 MB / 6.082 GB, free: 17.41 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007887/16.89, allocations: 0.7293 MB / 6.083 GB, free: 16.89 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01219/16.91, allocations: 0.6819 MB / 6.084 GB, free: 16.84 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002566/16.91, allocations: 315.1 kB / 6.084 GB, free: 16.84 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/16.91, allocations: 4.969 kB / 6.084 GB, free: 16.84 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02704/16.94, allocations: 8.73 MB / 6.093 GB, free: 16.65 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002829/16.94, allocations: 45.41 kB / 6.093 GB, free: 16.65 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005578/16.94, allocations: 162.2 kB / 6.093 GB, free: 16.64 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009127/16.95, allocations: 1.595 MB / 6.094 GB, free: 16.64 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/16.95, allocations: 0.7234 MB / 6.095 GB, free: 32.12 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01404/16.96, allocations: 0.6639 MB / 6.096 GB, free: 32.09 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003702/16.96, allocations: 306.7 kB / 6.096 GB, free: 32.09 MB / 1.026 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 () * Number of clocked 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.01727/16.98, allocations: 3.224 MB / 6.099 GB, free: 31.87 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006459/16.99, allocations: 0.7646 MB / 6.1 GB, free: 31.46 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03103/17.02, allocations: 7.838 MB / 6.108 GB, free: 31.09 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-05/17.02, allocations: 53.88 kB / 6.108 GB, free: 31.09 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.95e-05/17.02, allocations: 0 / 6.108 GB, free: 31.09 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01779/17.04, allocations: 6.22 MB / 6.114 GB, free: 30.62 MB / 1.026 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.06064/17.1, allocations: 17.06 MB / 6.13 GB, free: 29.65 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.116e-05/17.1, allocations: 3.797 kB / 6.13 GB, free: 29.65 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00733/17.11, allocations: 1.155 MB / 6.131 GB, free: 29.64 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000497/17.11, allocations: 92.8 kB / 6.132 GB, free: 29.63 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001748/17.11, allocations: 159 kB / 6.132 GB, free: 29.63 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007777/17.11, allocations: 0.6292 MB / 6.132 GB, free: 29.11 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/17.11, allocations: 3.938 kB / 6.132 GB, free: 29.11 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03267/17.14, allocations: 11.3 MB / 6.143 GB, free: 28.14 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009706/17.15, allocations: 1.855 MB / 6.145 GB, free: 27.62 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006327/17.16, allocations: 108.4 kB / 6.145 GB, free: 27.62 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01112/17.17, allocations: 0.5853 MB / 6.146 GB, free: 27.55 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001883/17.17, allocations: 309 kB / 6.146 GB, free: 27.54 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002038/17.17, allocations: 233.9 kB / 6.146 GB, free: 27.54 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.01449/17.19, allocations: 5.192 MB / 6.151 GB, free: 27.29 MB / 1.026 GB Notification: Performance of sort global known variables: time 6.01e-07/17.19, allocations: 0 / 6.151 GB, free: 27.29 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02826/17.22, allocations: 5.179 MB / 6.156 GB, free: 26.48 MB / 1.026 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) * Number of clocked states: 0 () * 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.007909/17.22, allocations: 2.38 MB / 6.159 GB, free: 25.78 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.03174/17.26, allocations: 12.21 MB / 6.171 GB, free: 22.71 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.731e-05/17.26, allocations: 8.688 kB / 6.171 GB, free: 22.71 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0089/17.26, allocations: 3.375 MB / 6.174 GB, free: 21.64 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03314/17.3, allocations: 4.157 MB / 6.178 GB, free: 20.78 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0533/17.35, allocations: 23.41 MB / 6.201 GB, free: 8.758 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01197/17.36, allocations: 5.995 MB / 6.207 GB, free: 6.84 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.02506/17.39, allocations: 4.173 MB / 6.211 GB, free: 4.562 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005541/17.39, allocations: 0.7104 MB / 6.212 GB, free: 3.934 MB / 1.026 GB Notification: Performance of SimCode: time 1.182e-06/17.39, allocations: 0 / 6.212 GB, free: 3.934 MB / 1.026 GB Notification: Performance of Templates: time 1.063/18.46, allocations: 172 MB / 6.38 GB, free: 91.11 MB / 1.057 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1)