Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.278/1.278, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009484/0.0009485, allocations: 177.5 kB / 327.6 MB, free: 2.188 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.4 MB / 0.5785 GB, free: 20.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007703/0.0007703, allocations: 99.64 kB / 0.6831 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003518, allocations: 19.41 kB / 0.7974 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1967, allocations: 106.3 MB / 0.9012 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.786/5.983, allocations: 2.528 GB / 3.43 GB, free: 19.95 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/5.983, allocations: 99.95 kB / 3.43 GB, free: 19.86 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.794/13.78, allocations: 2.453 GB / 5.883 GB, free: 7.852 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.054e-06/13.78, allocations: 0 / 5.883 GB, free: 7.852 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001681/13.78, allocations: 263.8 kB / 5.883 GB, free: 7.594 MB / 0.948 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 1.002/14.78, allocations: 10.66 MB / 5.894 GB, free: 67.48 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/14.78, allocations: 9.562 kB / 5.894 GB, free: 67.48 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01562/14.8, allocations: 2.044 MB / 5.896 GB, free: 66.89 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03578/14.83, allocations: 11.49 MB / 5.907 GB, free: 65.83 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008326/14.83, allocations: 0.5963 MB / 5.907 GB, free: 65.81 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003678/14.84, allocations: 0.8043 MB / 5.908 GB, free: 65.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02883/14.87, allocations: 11.17 MB / 5.919 GB, free: 64.71 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003471/14.87, allocations: 35.88 kB / 5.919 GB, free: 64.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002297/14.87, allocations: 336.5 kB / 5.919 GB, free: 64.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00026/14.87, allocations: 335.9 kB / 5.92 GB, free: 64.68 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02581/14.9, allocations: 10.31 MB / 5.93 GB, free: 64.62 MB / 0.948 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.0772/14.97, allocations: 44.86 MB / 5.974 GB, free: 47.82 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01397/14.99, allocations: 7.729 MB / 5.981 GB, free: 47.52 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007461/14.99, allocations: 4.045 MB / 5.985 GB, free: 47.46 MB / 0.948 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.0427/15.04, allocations: 17.94 MB / 6.003 GB, free: 42.95 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008183/15.04, allocations: 3.542 MB / 6.006 GB, free: 42.84 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006057/15.05, allocations: 0.7301 MB / 6.007 GB, free: 42.58 MB / 0.948 GB Notification: Performance of pre-optimization done (n=509): time 2.446e-05/15.05, allocations: 2.781 kB / 6.007 GB, free: 42.58 MB / 0.948 GB Notification: Performance of matching and sorting (n=509): time 0.02461/15.08, allocations: 9.386 MB / 6.016 GB, free: 41.94 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/15.08, allocations: 360.6 kB / 6.016 GB, free: 41.56 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02159/15.1, allocations: 7.434 MB / 6.024 GB, free: 41.02 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002098/15.1, allocations: 134.5 kB / 6.024 GB, free: 40.99 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007234/15.11, allocations: 4.358 MB / 6.028 GB, free: 39.47 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00359/15.11, allocations: 1.756 MB / 6.03 GB, free: 38.35 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001705/15.11, allocations: 129.7 kB / 6.03 GB, free: 38.35 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0008461/15.11, allocations: 0.5587 MB / 6.03 GB, free: 38.04 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009819/15.12, allocations: 3.303 MB / 6.034 GB, free: 38.02 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0114/15.13, allocations: 5.065 MB / 6.038 GB, free: 36.11 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01801/15.15, allocations: 8.435 MB / 6.047 GB, free: 34.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.542e-05/15.15, allocations: 11.84 kB / 6.047 GB, free: 34.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=826) (initialization): time 0.0195/15.17, allocations: 9.427 MB / 6.056 GB, free: 33.69 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008153/15.17, allocations: 1.496 MB / 6.057 GB, free: 31.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.085e-05/15.17, allocations: 48.34 kB / 6.057 GB, free: 31.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000431/15.17, allocations: 163.9 kB / 6.058 GB, free: 31.88 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006621/15.18, allocations: 1.598 MB / 6.059 GB, free: 31.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005921/15.18, allocations: 0.7283 MB / 6.06 GB, free: 31.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008329/15.19, allocations: 0.6803 MB / 6.061 GB, free: 31.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009744/15.19, allocations: 314.4 kB / 6.061 GB, free: 31.32 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/15.19, allocations: 3.875 kB / 6.061 GB, free: 31.32 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01615/15.21, allocations: 8.725 MB / 6.069 GB, free: 31.13 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002052/15.21, allocations: 50.11 kB / 6.069 GB, free: 31.13 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004723/15.21, allocations: 163.4 kB / 6.07 GB, free: 31.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007056/15.21, allocations: 1.589 MB / 6.071 GB, free: 31.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006914/15.21, allocations: 0.7356 MB / 6.072 GB, free: 30.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00876/15.22, allocations: 0.6628 MB / 6.072 GB, free: 30.56 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001294/15.22, allocations: 308.5 kB / 6.073 GB, free: 30.56 MB / 0.948 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.007872/15.23, allocations: 3.218 MB / 6.076 GB, free: 30.34 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00303/15.24, allocations: 0.7625 MB / 6.077 GB, free: 29.94 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01897/15.25, allocations: 7.844 MB / 6.084 GB, free: 29.56 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.006e-05/15.25, allocations: 52.41 kB / 6.084 GB, free: 29.56 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.363e-05/15.25, allocations: 0.625 kB / 6.084 GB, free: 29.56 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01196/15.27, allocations: 6.211 MB / 6.09 GB, free: 29.12 MB / 0.948 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.04117/15.31, allocations: 16.98 MB / 6.107 GB, free: 28.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.608e-05/15.31, allocations: 0 / 6.107 GB, free: 28.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006651/15.31, allocations: 1.158 MB / 6.108 GB, free: 28.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004492/15.32, allocations: 98.14 kB / 6.108 GB, free: 28.19 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001491/15.32, allocations: 152 kB / 6.108 GB, free: 28.19 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005135/15.32, allocations: 0.6286 MB / 6.109 GB, free: 27.68 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/15.32, allocations: 0 / 6.109 GB, free: 27.68 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02487/15.34, allocations: 11.3 MB / 6.12 GB, free: 26.16 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006438/15.35, allocations: 1.825 MB / 6.122 GB, free: 25.12 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003333/15.35, allocations: 109.5 kB / 6.122 GB, free: 25.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007932/15.36, allocations: 0.5781 MB / 6.122 GB, free: 24.95 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001063/15.36, allocations: 316.8 kB / 6.123 GB, free: 24.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001108/15.36, allocations: 213.9 kB / 6.123 GB, free: 24.87 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01161/15.37, allocations: 5.194 MB / 6.128 GB, free: 23.05 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-07/15.37, allocations: 0 / 6.128 GB, free: 23.05 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.02394/15.4, allocations: 5.156 MB / 6.133 GB, free: 21.95 MB / 0.948 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.006463/15.4, allocations: 2.371 MB / 6.135 GB, free: 21.39 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02542/15.43, allocations: 12.2 MB / 6.147 GB, free: 17.45 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/15.43, allocations: 4.125 kB / 6.147 GB, free: 17.45 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.006973/15.44, allocations: 3.379 MB / 6.151 GB, free: 16.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02475/15.46, allocations: 4.143 MB / 6.155 GB, free: 15.58 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04117/15.5, allocations: 23.44 MB / 6.178 GB, free: 3.562 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01026/15.51, allocations: 6.061 MB / 6.183 GB, free: 15.96 MB / 0.9637 GB Notification: Performance of simCode: alias equations: time 0.01892/15.53, allocations: 4.144 MB / 6.188 GB, free: 13.25 MB / 0.9637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003931/15.54, allocations: 0.7153 MB / 6.188 GB, free: 12.61 MB / 0.9637 GB Notification: Performance of SimCode: time 8.41e-07/15.54, allocations: 0 / 6.188 GB, free: 12.61 MB / 0.9637 GB Notification: Performance of Templates: time 0.802/16.34, allocations: 170.3 MB / 6.355 GB, free: 99.32 MB / 0.9949 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateWithTank.pipe 2>&1)