Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.893/1.893, allocations: 293 MB / 309 MB, free: 4.758 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.001014/0.001013, allocations: 170.8 kB / 378.7 MB, free: 0.9961 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.748/1.748, allocations: 205.4 MB / 0.6383 GB, free: 9.043 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.0009723/0.0009721, allocations: 99.61 kB / 0.7527 GB, free: 62.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005373/0.0005374, allocations: 15.98 kB / 0.8768 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3217/0.3223, allocations: 116.4 MB / 0.9904 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.37/6.692, allocations: 2.359 GB / 3.35 GB, free: 219.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/6.693, allocations: 96.45 kB / 3.35 GB, free: 219.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.128/14.82, allocations: 2.09 GB / 5.44 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.136e-06/14.82, allocations: 0 / 5.44 GB, free: 119.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.003096/14.82, allocations: 299.2 kB / 5.44 GB, free: 119.6 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2330 * Number of variables: 2330 Notification: Performance of Generate backend data structure: time 0.05524/14.88, allocations: 11.57 MB / 5.452 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.055e-05/14.88, allocations: 10.48 kB / 5.452 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01636/14.9, allocations: 2.041 MB / 5.454 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0478/14.94, allocations: 14.19 MB / 5.468 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001855/14.95, allocations: 0.6481 MB / 5.468 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005701/14.95, allocations: 0.8675 MB / 5.469 GB, free: 113 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0556/15.01, allocations: 13.31 MB / 5.482 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00107/15.01, allocations: 39.69 kB / 5.482 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00554/15.01, allocations: 388.7 kB / 5.482 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001151/15.01, allocations: 462.4 kB / 5.483 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03891/15.05, allocations: 11.84 MB / 5.494 GB, free: 111.5 MB / 0.9636 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.1217/15.18, allocations: 50.24 MB / 5.543 GB, free: 92.84 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01861/15.19, allocations: 8.128 MB / 5.551 GB, free: 91.22 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01029/15.2, allocations: 4.375 MB / 5.556 GB, free: 89.66 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00223/15.21, allocations: 1.503 MB / 5.557 GB, free: 88.13 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01219/15.22, allocations: 4.234 MB / 5.561 GB, free: 86.71 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=553): time 1.284e-05/15.22, allocations: 0 / 5.561 GB, free: 86.71 MB / 0.9636 GB Notification: Performance of matching and sorting (n=553): time 0.03319/15.25, allocations: 10.57 MB / 5.572 GB, free: 82.93 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001974/15.25, allocations: 347.6 kB / 5.572 GB, free: 82.58 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02824/15.28, allocations: 9.065 MB / 5.581 GB, free: 79.55 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.002455/15.28, allocations: 146.5 kB / 5.581 GB, free: 79.44 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.009963/15.29, allocations: 4.922 MB / 5.586 GB, free: 75.68 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.004779/15.3, allocations: 1.928 MB / 5.588 GB, free: 74.2 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002074/15.3, allocations: 138.2 kB / 5.588 GB, free: 74.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.00114/15.3, allocations: 0.5754 MB / 5.588 GB, free: 73.68 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01023/15.31, allocations: 3.567 MB / 5.592 GB, free: 72.49 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0111/15.32, allocations: 5.463 MB / 5.597 GB, free: 69 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02181/15.34, allocations: 9.423 MB / 5.606 GB, free: 63.8 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001413/15.34, allocations: 18.16 kB / 5.606 GB, free: 63.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.03315/15.38, allocations: 10.1 MB / 5.616 GB, free: 59.96 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001682/15.38, allocations: 1.715 MB / 5.618 GB, free: 57.59 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001866/15.38, allocations: 52.31 kB / 5.618 GB, free: 57.59 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001843/15.38, allocations: 94.66 kB / 5.618 GB, free: 57.59 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009596/15.39, allocations: 1.714 MB / 5.62 GB, free: 57.42 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003047/15.39, allocations: 124.1 kB / 5.62 GB, free: 57.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01645/15.41, allocations: 1.163 MB / 5.621 GB, free: 56.83 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002894/15.41, allocations: 338.4 kB / 5.621 GB, free: 56.77 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/15.41, allocations: 3.312 kB / 5.621 GB, free: 56.77 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02711/15.44, allocations: 9.344 MB / 5.63 GB, free: 53.29 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002214/15.44, allocations: 54.25 kB / 5.63 GB, free: 53.29 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000145/15.44, allocations: 87.22 kB / 5.631 GB, free: 53.29 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009235/15.45, allocations: 1.723 MB / 5.632 GB, free: 53.11 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000247/15.45, allocations: 124.3 kB / 5.632 GB, free: 53.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01383/15.46, allocations: 1.055 MB / 5.633 GB, free: 52.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002666/15.46, allocations: 331 kB / 5.634 GB, free: 52.55 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 243 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.datRea.nextTimeEvent,$whenCondition3,$whenCondition2,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (866): * Single equations (assignments): 866 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01443/15.48, allocations: 3.979 MB / 5.638 GB, free: 50.84 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005842/15.48, allocations: 0.8779 MB / 5.638 GB, free: 50.39 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02931/15.51, allocations: 8.691 MB / 5.647 GB, free: 47.15 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-05/15.51, allocations: 55.34 kB / 5.647 GB, free: 47.15 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.672e-05/15.51, allocations: 0 / 5.647 GB, free: 47.15 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01892/15.53, allocations: 6.832 MB / 5.654 GB, free: 44.7 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06794/15.6, allocations: 19.81 MB / 5.673 GB, free: 35.05 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.112e-05/15.6, allocations: 4 kB / 5.673 GB, free: 35.04 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008046/15.61, allocations: 1.379 MB / 5.674 GB, free: 33.95 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000121/15.61, allocations: 20 kB / 5.674 GB, free: 33.93 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001964/15.61, allocations: 179.5 kB / 5.675 GB, free: 33.79 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.922e-05/15.61, allocations: 31.88 kB / 5.675 GB, free: 33.76 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/15.61, allocations: 0 / 5.675 GB, free: 33.76 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03561/15.65, allocations: 12.69 MB / 5.687 GB, free: 22.74 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01344/15.66, allocations: 2.305 MB / 5.689 GB, free: 20.76 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007079/15.67, allocations: 115.8 kB / 5.689 GB, free: 20.65 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01394/15.68, allocations: 0.7048 MB / 5.69 GB, free: 20.12 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002226/15.68, allocations: 322.8 kB / 5.69 GB, free: 19.92 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002452/15.69, allocations: 293.1 kB / 5.691 GB, free: 19.71 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.01937/15.71, allocations: 6.348 MB / 5.697 GB, free: 14.57 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.473e-06/15.71, allocations: 4 kB / 5.697 GB, free: 14.56 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.03457/15.74, allocations: 5.555 MB / 5.702 GB, free: 9.016 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 4 (datRea.nextTimeEvent,datRea.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (573): * Single equations (assignments): 567 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006623/15.75, allocations: 1.449 MB / 5.704 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.04641/15.79, allocations: 14.1 MB / 5.717 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.727e-05/15.79, allocations: 13.06 kB / 5.717 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.01194/15.8, allocations: 3.785 MB / 5.721 GB, free: 11.89 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04988/15.85, allocations: 5.606 MB / 5.727 GB, free: 7.828 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7636/16.62, allocations: 27.14 MB / 5.753 GB, free: 115 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01978/16.64, allocations: 6.915 MB / 5.76 GB, free: 114.1 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.03653/16.67, allocations: 6.008 MB / 5.766 GB, free: 114 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008086/16.68, allocations: 0.847 MB / 5.767 GB, free: 114 MB / 0.9792 GB Notification: Performance of SimCode: time 2.164e-06/16.68, allocations: 0 / 5.767 GB, free: 114 MB / 0.9792 GB Notification: Performance of Templates: time 0.3608/17.04, allocations: 190 MB / 5.952 GB, free: 89.71 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1)