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.846/1.846, allocations: 288.3 MB / 303.2 MB, free: 8.219 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.00145/0.00145, allocations: 185.6 kB / 371.8 MB, free: 10.27 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.981/1.981, allocations: 205.4 MB / 0.6306 GB, free: 9.918 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.001145/0.001145, allocations: 88.25 kB / 0.7439 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004493/0.0004493, allocations: 12.47 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2787, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.43/6.709, allocations: 2.358 GB / 3.338 GB, free: 261.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/6.709, allocations: 101.2 kB / 3.338 GB, free: 261.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.37/16.08, allocations: 2.102 GB / 5.44 GB, free: 127.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.867e-06/16.08, allocations: 0.9062 kB / 5.44 GB, free: 127.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.003747/16.08, allocations: 294.9 kB / 5.44 GB, free: 127.7 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.05662/16.14, allocations: 11.69 MB / 5.452 GB, free: 123.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/16.14, allocations: 11.5 kB / 5.452 GB, free: 123.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01973/16.16, allocations: 2.045 MB / 5.454 GB, free: 122.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05964/16.22, allocations: 14.79 MB / 5.468 GB, free: 121.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002001/16.22, allocations: 0.6479 MB / 5.469 GB, free: 121.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006999/16.23, allocations: 0.8672 MB / 5.47 GB, free: 121.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05982/16.29, allocations: 13.24 MB / 5.483 GB, free: 120.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001275/16.29, allocations: 30.67 kB / 5.483 GB, free: 120.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00702/16.3, allocations: 384.9 kB / 5.483 GB, free: 120.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008332/16.3, allocations: 462.9 kB / 5.483 GB, free: 120 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04561/16.34, allocations: 11.85 MB / 5.495 GB, free: 120 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.1464/16.49, allocations: 50.72 MB / 5.544 GB, free: 101.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02273/16.51, allocations: 8.243 MB / 5.553 GB, free: 101.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002799/16.51, allocations: 1.494 MB / 5.554 GB, free: 99.55 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01334/16.53, allocations: 4.218 MB / 5.558 GB, free: 99.38 MB / 0.948 GB Notification: Performance of pre-optimization done (n=553): time 1.366e-05/16.53, allocations: 3 kB / 5.558 GB, free: 99.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=553): time 0.03367/16.56, allocations: 10.57 MB / 5.568 GB, free: 98.68 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002175/16.56, allocations: 345.8 kB / 5.569 GB, free: 98.32 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03085/16.59, allocations: 8.993 MB / 5.578 GB, free: 97.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002929/16.6, allocations: 147.5 kB / 5.578 GB, free: 97.77 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01004/16.61, allocations: 4.941 MB / 5.582 GB, free: 96.08 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004333/16.61, allocations: 1.925 MB / 5.584 GB, free: 94.87 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001853/16.61, allocations: 136.1 kB / 5.585 GB, free: 94.87 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000996/16.61, allocations: 0.5737 MB / 5.585 GB, free: 94.55 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009124/16.62, allocations: 3.568 MB / 5.589 GB, free: 94.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01118/16.63, allocations: 5.437 MB / 5.594 GB, free: 90.67 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/16.64, allocations: 4.567 MB / 5.598 GB, free: 88.96 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001205/16.65, allocations: 17.19 kB / 5.598 GB, free: 88.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.03057/16.68, allocations: 10.1 MB / 5.608 GB, free: 85.51 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.007039/16.68, allocations: 28.53 MB / 5.636 GB, free: 55.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002142/16.68, allocations: 56.23 kB / 5.636 GB, free: 55.33 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001953/16.68, allocations: 98.31 kB / 5.636 GB, free: 55.33 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01051/16.69, allocations: 1.836 MB / 5.638 GB, free: 55.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000242/16.69, allocations: 123.8 kB / 5.638 GB, free: 55.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01498/16.71, allocations: 1.234 MB / 5.639 GB, free: 54.65 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002844/16.71, allocations: 337.9 kB / 5.64 GB, free: 54.59 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/16.71, allocations: 3.344 kB / 5.64 GB, free: 54.59 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02914/16.74, allocations: 9.344 MB / 5.649 GB, free: 51.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003132/16.74, allocations: 52.81 kB / 5.649 GB, free: 51.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001943/16.74, allocations: 95.94 kB / 5.649 GB, free: 51.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01064/16.75, allocations: 1.835 MB / 5.651 GB, free: 51.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002733/16.75, allocations: 122.6 kB / 5.651 GB, free: 51.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01693/16.77, allocations: 1.114 MB / 5.652 GB, free: 50.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003905/16.77, allocations: 334.1 kB / 5.652 GB, free: 50.65 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.01593/16.79, allocations: 3.987 MB / 5.656 GB, free: 48.94 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005893/16.8, allocations: 0.878 MB / 5.657 GB, free: 48.48 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03/16.83, allocations: 8.708 MB / 5.665 GB, free: 45.24 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.76e-05/16.83, allocations: 56.97 kB / 5.666 GB, free: 45.24 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.053e-05/16.83, allocations: 0 / 5.666 GB, free: 45.24 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02197/16.85, allocations: 6.837 MB / 5.672 GB, free: 42.78 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07011/16.92, allocations: 20.06 MB / 5.692 GB, free: 34.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.481e-05/16.92, allocations: 3.406 kB / 5.692 GB, free: 34.96 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008754/16.93, allocations: 1.312 MB / 5.693 GB, free: 34.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001286/16.93, allocations: 19.47 kB / 5.693 GB, free: 34.85 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002129/16.93, allocations: 192.8 kB / 5.693 GB, free: 34.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.437e-05/16.93, allocations: 18.72 kB / 5.693 GB, free: 34.77 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/16.93, allocations: 3.953 kB / 5.693 GB, free: 34.77 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03845/16.97, allocations: 12.84 MB / 5.706 GB, free: 27.12 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01329/16.98, allocations: 2.439 MB / 5.708 GB, free: 25.05 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006827/16.99, allocations: 118.7 kB / 5.708 GB, free: 24.94 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01592/17, allocations: 0.7153 MB / 5.709 GB, free: 24.41 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001948/17.01, allocations: 324.2 kB / 5.709 GB, free: 24.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002487/17.01, allocations: 291.1 kB / 5.71 GB, free: 23.99 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01854/17.03, allocations: 7.059 MB / 5.717 GB, free: 18.25 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.5e-07/17.03, allocations: 0 / 5.717 GB, free: 18.25 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.03275/17.06, allocations: 5.607 MB / 5.722 GB, free: 12.64 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.006568/17.07, allocations: 1.461 MB / 5.723 GB, free: 11.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.03434/17.1, allocations: 13.21 MB / 5.736 GB, free: 0.5547 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-05/17.1, allocations: 7.188 kB / 5.736 GB, free: 0.543 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.02086/17.12, allocations: 4.617 MB / 5.741 GB, free: 15.39 MB / 0.9637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03546/17.16, allocations: 5.582 MB / 5.746 GB, free: 11.39 MB / 0.9637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08306/17.24, allocations: 26.99 MB / 5.773 GB, free: 3.141 MB / 0.9793 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.7172/17.96, allocations: 7.72 MB / 5.78 GB, free: 139.2 MB / 0.9793 GB Notification: Performance of simCode: alias equations: time 0.03393/17.99, allocations: 6.094 MB / 5.786 GB, free: 139.1 MB / 0.9793 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005941/18, allocations: 0.8554 MB / 5.787 GB, free: 139.1 MB / 0.9793 GB Notification: Performance of SimCode: time 9.01e-07/18, allocations: 0 / 5.787 GB, free: 139.1 MB / 0.9793 GB Notification: Performance of Templates: time 0.3522/18.35, allocations: 190 MB / 5.973 GB, free: 108.1 MB / 0.9793 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)