Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.79/1.79, allocations: 292.6 MB / 307.5 MB, free: 5.168 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.001229/0.001229, allocations: 184.2 kB / 377.1 MB, free: 1.488 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.93/1.93, allocations: 205.4 MB / 0.6367 GB, free: 8.504 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001159/0.001159, allocations: 91.86 kB / 0.751 GB, free: 63.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004742/0.0004743, allocations: 8 kB / 0.8748 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3366, allocations: 116.3 MB / 0.9884 GB, free: 6.699 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.887/7.224, allocations: 2.111 GB / 3.099 GB, free: 74.55 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003517/7.224, allocations: 96.61 kB / 3.099 GB, free: 74.46 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.67/13.89, allocations: 1.415 GB / 4.514 GB, free: 102.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.831e-06/13.89, allocations: 0 / 4.514 GB, free: 102.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.00133/13.9, allocations: 131.1 kB / 4.514 GB, free: 102.3 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.02949/13.92, allocations: 6.357 MB / 4.521 GB, free: 95.91 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.376e-05/13.92, allocations: 8.031 kB / 4.521 GB, free: 95.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01391/13.94, allocations: 1.597 MB / 4.522 GB, free: 94.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01985/13.96, allocations: 5.258 MB / 4.527 GB, free: 89.07 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005079/13.96, allocations: 283.5 kB / 4.528 GB, free: 88.79 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002719/13.96, allocations: 371.8 kB / 4.528 GB, free: 88.43 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02227/13.98, allocations: 5.452 MB / 4.533 GB, free: 82.81 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003519/13.98, allocations: 7.938 kB / 4.533 GB, free: 82.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002756/13.99, allocations: 164.9 kB / 4.533 GB, free: 82.64 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002036/13.99, allocations: 155.3 kB / 4.534 GB, free: 82.49 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01696/14, allocations: 5.332 MB / 4.539 GB, free: 77.16 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.0552/14.06, allocations: 19.21 MB / 4.558 GB, free: 57.57 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009578/14.07, allocations: 3.817 MB / 4.561 GB, free: 53.76 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002544/14.07, allocations: 2.549 MB / 4.564 GB, free: 50.68 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005762/14.08, allocations: 2.12 MB / 4.566 GB, free: 48.51 MB / 0.948 GB Notification: Performance of pre-optimization done (n=284): time 1.033e-05/14.08, allocations: 0 / 4.566 GB, free: 48.51 MB / 0.948 GB Notification: Performance of matching and sorting (n=284): time 0.01923/14.1, allocations: 6.82 MB / 4.573 GB, free: 41.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/14.1, allocations: 291.3 kB / 4.573 GB, free: 41.05 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008985/14.11, allocations: 3.352 MB / 4.576 GB, free: 37.72 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001204/14.11, allocations: 85.7 kB / 4.576 GB, free: 37.63 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002736/14.11, allocations: 1.945 MB / 4.578 GB, free: 35.66 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002229/14.11, allocations: 0.9627 MB / 4.579 GB, free: 34.69 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00092/14.11, allocations: 63.94 kB / 4.579 GB, free: 34.62 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0004434/14.11, allocations: 424.1 kB / 4.579 GB, free: 34.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004815/14.12, allocations: 1.599 MB / 4.581 GB, free: 32.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005545/14.12, allocations: 2.241 MB / 4.583 GB, free: 30.12 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005222/14.13, allocations: 1.936 MB / 4.585 GB, free: 28.16 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-05/14.13, allocations: 4 kB / 4.585 GB, free: 28.16 MB / 0.948 GB Notification: Performance of matching and sorting (n=380) (initialization): time 0.01306/14.14, allocations: 4.484 MB / 4.589 GB, free: 23.63 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00179/14.14, allocations: 6.55 MB / 4.596 GB, free: 16.53 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.617e-05/14.14, allocations: 16 kB / 4.596 GB, free: 16.51 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007221/14.15, allocations: 108.8 kB / 4.596 GB, free: 16.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00456/14.15, allocations: 0.7918 MB / 4.597 GB, free: 15.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002354/14.15, allocations: 2.175 MB / 4.599 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006979/14.16, allocations: 0.5237 MB / 4.599 GB, free: 12.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0011/14.16, allocations: 159.9 kB / 4.6 GB, free: 12.59 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/14.16, allocations: 0 / 4.6 GB, free: 12.59 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01197/14.17, allocations: 4.135 MB / 4.604 GB, free: 8.422 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.934e-05/14.17, allocations: 12 kB / 4.604 GB, free: 8.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006275/14.17, allocations: 117.2 kB / 4.604 GB, free: 8.293 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004274/14.18, allocations: 0.7839 MB / 4.604 GB, free: 7.508 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/14.18, allocations: 1.57 MB / 4.606 GB, free: 5.801 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006681/14.19, allocations: 0.4968 MB / 4.606 GB, free: 5.301 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001102/14.19, allocations: 167.8 kB / 4.607 GB, free: 5.137 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * 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 (378): * Single equations (assignments): 376 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005063/14.19, allocations: 1.534 MB / 4.608 GB, free: 3.598 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0023/14.19, allocations: 387.2 kB / 4.609 GB, free: 3.215 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.017/14.21, allocations: 5.138 MB / 4.614 GB, free: 14 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.059e-05/14.21, allocations: 28 kB / 4.614 GB, free: 13.97 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.665e-05/14.21, allocations: 3.953 kB / 4.614 GB, free: 13.96 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01166/14.22, allocations: 4.059 MB / 4.618 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8567/15.08, allocations: 9.935 MB / 4.627 GB, free: 125.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.059e-05/15.08, allocations: 1.812 kB / 4.627 GB, free: 125.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004463/15.08, allocations: 0.6152 MB / 4.628 GB, free: 125.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003258/15.09, allocations: 0.6705 MB / 4.628 GB, free: 125.9 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000886/15.09, allocations: 94.52 kB / 4.629 GB, free: 125.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005401/15.09, allocations: 7.551 MB / 4.636 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/15.09, allocations: 5.906 kB / 4.636 GB, free: 119.4 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01812/15.11, allocations: 6.797 MB / 4.643 GB, free: 118.9 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004702/15.12, allocations: 1.133 MB / 4.644 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001711/15.12, allocations: 62.72 kB / 4.644 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00554/15.12, allocations: 328.3 kB / 4.644 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006416/15.13, allocations: 179.2 kB / 4.644 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006535/15.13, allocations: 139.1 kB / 4.644 GB, free: 118.8 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.009068/15.14, allocations: 2.645 MB / 4.647 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.212e-06/15.14, allocations: 3.5 kB / 4.647 GB, free: 118.7 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.02033/15.16, allocations: 2.872 MB / 4.65 GB, free: 118.6 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (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) * 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 (272): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 10 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.007688/15.16, allocations: 1.837 MB / 4.652 GB, free: 118.3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0212/15.18, allocations: 6.285 MB / 4.658 GB, free: 118 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.12e-05/15.18, allocations: 10 kB / 4.658 GB, free: 118 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.007789/15.19, allocations: 2.156 MB / 4.66 GB, free: 117.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01358/15.21, allocations: 1.933 MB / 4.662 GB, free: 117.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03001/15.24, allocations: 11.39 MB / 4.673 GB, free: 113.8 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006261/15.24, allocations: 3.143 MB / 4.676 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.01375/15.26, allocations: 2.413 MB / 4.678 GB, free: 113 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003002/15.26, allocations: 437.2 kB / 4.679 GB, free: 113 MB / 0.9636 GB Notification: Performance of SimCode: time 1.683e-06/15.26, allocations: 0 / 4.679 GB, free: 113 MB / 0.9636 GB Notification: Performance of Templates: time 0.2137/15.47, allocations: 93.22 MB / 4.77 GB, free: 108.6 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.pipe 2>&1)