Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.59/2.59, allocations: 285 MB / 292.5 MB, free: 10.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001561/0.00156, allocations: 176.9 kB / 360.7 MB, free: 7.25 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.045/2.045, allocations: 205.3 MB / 0.6192 GB, free: 12.13 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001067, allocations: 91.81 kB / 0.7322 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.063e-05/2.076e-05, allocations: 4 kB / 0.8509 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8157/0.8158, allocations: 115.3 MB / 0.9634 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.074/7.89, allocations: 2.357 GB / 3.321 GB, free: 124.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003357/7.89, allocations: 88.95 kB / 3.321 GB, free: 124.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 11.24/19.13, allocations: 2.086 GB / 5.407 GB, free: 173.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.984e-06/19.13, allocations: 0 / 5.407 GB, free: 173.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.002176/19.14, allocations: 301.5 kB / 5.407 GB, free: 173.6 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.04017/19.18, allocations: 9.572 MB / 5.416 GB, free: 170.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/19.18, allocations: 6.844 kB / 5.416 GB, free: 170.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01912/19.2, allocations: 2.033 MB / 5.418 GB, free: 169.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05784/19.25, allocations: 14.73 MB / 5.433 GB, free: 168.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006471/19.25, allocations: 283.2 kB / 5.433 GB, free: 168.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004348/19.26, allocations: 0.508 MB / 5.434 GB, free: 168.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03253/19.29, allocations: 10.25 MB / 5.444 GB, free: 168.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04218/19.33, allocations: 11.5 MB / 5.455 GB, free: 166.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006435/19.33, allocations: 33.16 kB / 5.455 GB, free: 166.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003984/19.34, allocations: 23 kB / 5.455 GB, free: 166.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005985/19.34, allocations: 459.6 kB / 5.455 GB, free: 166.7 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.1205/19.46, allocations: 48.97 MB / 5.503 GB, free: 137.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0171/19.48, allocations: 7.384 MB / 5.51 GB, free: 134.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009359/19.49, allocations: 3.898 MB / 5.514 GB, free: 132.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002624/19.49, allocations: 1.5 MB / 5.516 GB, free: 131.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0106/19.5, allocations: 3.734 MB / 5.519 GB, free: 128.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=553): time 9.989e-06/19.5, allocations: 7.875 kB / 5.519 GB, free: 128.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=553): time 0.1421/19.64, allocations: 11.37 MB / 5.53 GB, free: 118.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001925/19.64, allocations: 343.1 kB / 5.531 GB, free: 118.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02233/19.66, allocations: 7.68 MB / 5.538 GB, free: 110.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002054/19.67, allocations: 33.7 kB / 5.538 GB, free: 110.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007953/19.67, allocations: 4.886 MB / 5.543 GB, free: 105.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003892/19.68, allocations: 1.848 MB / 5.545 GB, free: 103.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001064/19.68, allocations: 4 kB / 5.545 GB, free: 103.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0006251/19.68, allocations: 0.5714 MB / 5.545 GB, free: 103.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0081/19.69, allocations: 3.133 MB / 5.548 GB, free: 100.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01023/19.7, allocations: 4.961 MB / 5.553 GB, free: 94.46 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3442/20.04, allocations: 16.07 MB / 5.569 GB, free: 78.34 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-05/20.04, allocations: 16 kB / 5.569 GB, free: 78.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.3635/20.41, allocations: 20.73 MB / 5.589 GB, free: 57.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.005873/20.41, allocations: 27.49 MB / 5.616 GB, free: 27.98 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001971/20.41, allocations: 56 kB / 5.616 GB, free: 27.92 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001714/20.41, allocations: 99.94 kB / 5.616 GB, free: 27.83 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01677/20.43, allocations: 1.837 MB / 5.618 GB, free: 25.99 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001725/20.43, allocations: 119.6 kB / 5.618 GB, free: 25.87 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01806/20.45, allocations: 1.015 MB / 5.619 GB, free: 24.85 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002336/20.45, allocations: 331.9 kB / 5.619 GB, free: 24.52 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/20.45, allocations: 8 kB / 5.619 GB, free: 24.52 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3595/20.81, allocations: 19.91 MB / 5.639 GB, free: 4.527 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001452/20.81, allocations: 56 kB / 5.639 GB, free: 4.473 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001191/20.81, allocations: 96 kB / 5.639 GB, free: 4.379 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01657/20.83, allocations: 1.83 MB / 5.641 GB, free: 2.547 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001423/20.83, allocations: 127.6 kB / 5.641 GB, free: 2.422 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01622/20.84, allocations: 0.8919 MB / 5.642 GB, free: 1.527 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002087/20.84, allocations: 335.8 kB / 5.642 GB, free: 1.199 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 () * 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.002254/20.85, allocations: 302.4 kB / 5.642 GB, free: 0.8984 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003508/20.85, allocations: 0.8066 MB / 5.643 GB, free: 84 kB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.9257/21.78, allocations: 12.37 MB / 5.655 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-05/21.78, allocations: 53.91 kB / 5.655 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/21.78, allocations: 0 / 5.655 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1432/21.92, allocations: 10.71 MB / 5.666 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.183/22.1, allocations: 22.75 MB / 5.688 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-05/22.1, allocations: 3.344 kB / 5.688 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01412/22.12, allocations: 1.323 MB / 5.689 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.849e-05/22.12, allocations: 18.78 kB / 5.689 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001533/22.12, allocations: 119.6 kB / 5.689 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.764e-05/22.12, allocations: 17.38 kB / 5.689 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/22.12, allocations: 7.406 kB / 5.689 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1584/22.28, allocations: 16.24 MB / 5.705 GB, free: 170.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01063/22.29, allocations: 2.349 MB / 5.708 GB, free: 169.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0045/22.29, allocations: 39.86 kB / 5.708 GB, free: 169.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0167/22.31, allocations: 0.6087 MB / 5.708 GB, free: 169.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00177/22.31, allocations: 330.3 kB / 5.709 GB, free: 169.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001954/22.31, allocations: 290.7 kB / 5.709 GB, free: 169.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01607/22.33, allocations: 5.88 MB / 5.715 GB, free: 169.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.81e-07/22.33, allocations: 3.938 kB / 5.715 GB, free: 169.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.03041/22.36, allocations: 5.394 MB / 5.72 GB, free: 168.9 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) * 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.005661/22.36, allocations: 1.232 MB / 5.721 GB, free: 168.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.03132/22.4, allocations: 11.99 MB / 5.733 GB, free: 168.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.216e-05/22.4, allocations: 10.69 kB / 5.733 GB, free: 168.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.009247/22.41, allocations: 3.392 MB / 5.736 GB, free: 168.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04114/22.45, allocations: 4.753 MB / 5.741 GB, free: 168.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05731/22.5, allocations: 19.38 MB / 5.76 GB, free: 164.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01508/22.52, allocations: 7.126 MB / 5.767 GB, free: 163.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.05104/22.57, allocations: 8.591 MB / 5.775 GB, free: 161.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004962/22.58, allocations: 0.6481 MB / 5.776 GB, free: 161.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.292e-06/22.58, allocations: 0 / 5.776 GB, free: 161.8 MB / 0.948 GB Notification: Performance of Templates: time 0.4618/23.04, allocations: 169.2 MB / 5.941 GB, free: 38.13 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & ./Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1)