Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.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.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.725/1.725, allocations: 288.4 MB / 304.3 MB, free: 8.125 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.001147/0.001147, allocations: 182.8 kB / 373 MB, free: 10.14 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.9/1.9, allocations: 205.4 MB / 0.6317 GB, free: 9.867 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.0009374/0.0009376, allocations: 94.23 kB / 0.745 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000436/0.0004363, allocations: 16.81 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2627, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.008/6.27, allocations: 2.358 GB / 3.339 GB, free: 329.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/6.271, allocations: 102.2 kB / 3.339 GB, free: 329.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.526/13.8, allocations: 2.09 GB / 5.429 GB, free: 34.59 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.436e-06/13.8, allocations: 4 kB / 5.429 GB, free: 34.59 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.002675/13.8, allocations: 299.7 kB / 5.43 GB, free: 34.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: 2330 * Number of variables: 2330 Notification: Performance of Generate backend data structure: time 0.04484/13.84, allocations: 11.57 MB / 5.441 GB, free: 22.61 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/13.84, allocations: 15.97 kB / 5.441 GB, free: 22.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01552/13.86, allocations: 2.039 MB / 5.443 GB, free: 20.54 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04075/13.9, allocations: 14.2 MB / 5.457 GB, free: 6.25 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008455/13.9, allocations: 0.6425 MB / 5.457 GB, free: 5.605 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004455/13.91, allocations: 0.8712 MB / 5.458 GB, free: 4.734 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7879/14.69, allocations: 13.3 MB / 5.471 GB, free: 118.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001116/14.7, allocations: 45.38 kB / 5.471 GB, free: 118.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005776/14.7, allocations: 381.3 kB / 5.472 GB, free: 118.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00129/14.7, allocations: 465.2 kB / 5.472 GB, free: 118.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04451/14.75, allocations: 11.85 MB / 5.484 GB, free: 118.3 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.1189/14.87, allocations: 50.23 MB / 5.533 GB, free: 100.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02025/14.89, allocations: 8.131 MB / 5.541 GB, free: 100.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01241/14.9, allocations: 4.377 MB / 5.545 GB, free: 100.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002542/14.9, allocations: 1.497 MB / 5.546 GB, free: 98.94 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01155/14.91, allocations: 4.229 MB / 5.551 GB, free: 98.77 MB / 0.948 GB Notification: Performance of pre-optimization done (n=553): time 1.303e-05/14.91, allocations: 0 / 5.551 GB, free: 98.77 MB / 0.948 GB Notification: Performance of matching and sorting (n=553): time 0.03257/14.95, allocations: 10.57 MB / 5.561 GB, free: 98.07 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001709/14.95, allocations: 345 kB / 5.561 GB, free: 97.72 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02598/14.97, allocations: 9.078 MB / 5.57 GB, free: 97.19 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002376/14.97, allocations: 140.4 kB / 5.57 GB, free: 97.16 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.009568/14.98, allocations: 4.93 MB / 5.575 GB, free: 95.95 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00471/14.99, allocations: 1.921 MB / 5.577 GB, free: 94.98 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00201/14.99, allocations: 132.3 kB / 5.577 GB, free: 94.98 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.001094/14.99, allocations: 0.5819 MB / 5.578 GB, free: 94.66 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009642/15, allocations: 3.56 MB / 5.581 GB, free: 94.65 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01172/15.01, allocations: 5.468 MB / 5.586 GB, free: 92.55 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02188/15.04, allocations: 9.428 MB / 5.596 GB, free: 90.46 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001371/15.04, allocations: 22.92 kB / 5.596 GB, free: 90.46 MB / 0.948 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.03367/15.07, allocations: 10.1 MB / 5.605 GB, free: 89.82 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001747/15.07, allocations: 1.712 MB / 5.607 GB, free: 87.76 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000206/15.07, allocations: 54.16 kB / 5.607 GB, free: 87.76 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001799/15.07, allocations: 87.03 kB / 5.607 GB, free: 87.76 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01018/15.08, allocations: 1.719 MB / 5.609 GB, free: 87.76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002913/15.08, allocations: 122.9 kB / 5.609 GB, free: 87.76 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01556/15.1, allocations: 1.162 MB / 5.61 GB, free: 87.35 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003644/15.1, allocations: 333.3 kB / 5.611 GB, free: 87.35 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/15.1, allocations: 10.62 kB / 5.611 GB, free: 87.35 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03252/15.13, allocations: 9.345 MB / 5.62 GB, free: 86.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002889/15.13, allocations: 55.88 kB / 5.62 GB, free: 86.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001561/15.13, allocations: 87.41 kB / 5.62 GB, free: 86.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009904/15.14, allocations: 1.722 MB / 5.621 GB, free: 86.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002529/15.14, allocations: 118.6 kB / 5.622 GB, free: 86.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01499/15.16, allocations: 1.055 MB / 5.623 GB, free: 86.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003491/15.16, allocations: 333.6 kB / 5.623 GB, free: 86.06 MB / 0.948 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.01524/15.18, allocations: 3.98 MB / 5.627 GB, free: 84.46 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005478/15.18, allocations: 0.8882 MB / 5.628 GB, free: 84 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03104/15.21, allocations: 8.675 MB / 5.636 GB, free: 80.85 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-05/15.22, allocations: 56.84 kB / 5.636 GB, free: 80.85 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.071e-05/15.22, allocations: 0 / 5.636 GB, free: 80.85 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01978/15.23, allocations: 6.829 MB / 5.643 GB, free: 78.44 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0671/15.3, allocations: 19.82 MB / 5.662 GB, free: 70.79 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.895e-05/15.3, allocations: 3.375 kB / 5.662 GB, free: 70.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009369/15.31, allocations: 1.38 MB / 5.664 GB, free: 70.75 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001843/15.31, allocations: 21.03 kB / 5.664 GB, free: 70.75 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002812/15.31, allocations: 181 kB / 5.664 GB, free: 70.67 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001769/15.31, allocations: 21.08 kB / 5.664 GB, free: 70.67 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-06/15.31, allocations: 3.969 kB / 5.664 GB, free: 70.67 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03724/15.35, allocations: 12.69 MB / 5.676 GB, free: 65.72 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01129/15.36, allocations: 2.31 MB / 5.678 GB, free: 64.48 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005594/15.37, allocations: 124.2 kB / 5.679 GB, free: 64.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01334/15.38, allocations: 0.6908 MB / 5.679 GB, free: 64.28 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002159/15.38, allocations: 326.4 kB / 5.68 GB, free: 64.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002774/15.39, allocations: 289.3 kB / 5.68 GB, free: 64.19 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01913/15.41, allocations: 6.355 MB / 5.686 GB, free: 62.05 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.52e-07/15.41, allocations: 3.094 kB / 5.686 GB, free: 62.05 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.03235/15.44, allocations: 5.557 MB / 5.691 GB, free: 60.96 MB / 0.948 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.006669/15.45, allocations: 1.45 MB / 5.693 GB, free: 60.66 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.03664/15.48, allocations: 13.21 MB / 5.706 GB, free: 56.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.351e-05/15.48, allocations: 10 kB / 5.706 GB, free: 56.39 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0111/15.49, allocations: 3.79 MB / 5.709 GB, free: 55.16 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04906/15.54, allocations: 5.619 MB / 5.715 GB, free: 54.18 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06945/15.61, allocations: 27.14 MB / 5.741 GB, free: 32.17 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01972/15.63, allocations: 6.914 MB / 5.748 GB, free: 42.92 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.03112/15.66, allocations: 6.016 MB / 5.754 GB, free: 38.79 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006443/15.67, allocations: 0.8369 MB / 5.755 GB, free: 38.06 MB / 0.9636 GB Notification: Performance of SimCode: time 1.473e-06/15.67, allocations: 0 / 5.755 GB, free: 38.06 MB / 0.9636 GB Notification: Performance of Templates: time 1.03/16.7, allocations: 190 MB / 5.94 GB, free: 131.5 MB / 0.9792 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1)