Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.532/2.532, allocations: 287.5 MB / 303.2 MB, free: 8.207 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.001613/0.001612, allocations: 186.3 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.082/2.082, allocations: 205.4 MB / 0.6305 GB, free: 10.58 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.0009577/0.0009574, allocations: 96.09 kB / 0.7438 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004727/0.0004728, allocations: 15.91 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2318, allocations: 115.3 MB / 0.9793 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.45/7.682, allocations: 2.358 GB / 3.337 GB, free: 331.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004966/7.682, allocations: 100.8 kB / 3.338 GB, free: 331.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.55/18.24, allocations: 2.09 GB / 5.428 GB, free: 43.92 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.316e-06/18.24, allocations: 4 kB / 5.428 GB, free: 43.92 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.002693/18.24, allocations: 299.7 kB / 5.428 GB, free: 43.62 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.05306/18.29, allocations: 11.57 MB / 5.439 GB, free: 31.94 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/18.29, allocations: 11.97 kB / 5.439 GB, free: 31.93 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01857/18.31, allocations: 2.047 MB / 5.441 GB, free: 29.86 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05424/18.37, allocations: 14.2 MB / 5.455 GB, free: 15.57 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009444/18.37, allocations: 0.6464 MB / 5.456 GB, free: 14.92 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004336/18.37, allocations: 0.8634 MB / 5.457 GB, free: 14.06 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04913/18.42, allocations: 13.31 MB / 5.47 GB, free: 304 kB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006696/18.42, allocations: 39.66 kB / 5.47 GB, free: 264 kB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.7588/19.18, allocations: 379.3 kB / 5.47 GB, free: 123.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009426/19.18, allocations: 462.9 kB / 5.471 GB, free: 123.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05014/19.23, allocations: 11.84 MB / 5.482 GB, free: 123.8 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.1271/19.36, allocations: 50.24 MB / 5.531 GB, free: 106.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02626/19.38, allocations: 8.119 MB / 5.539 GB, free: 106 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01486/19.4, allocations: 4.377 MB / 5.543 GB, free: 106 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002752/19.4, allocations: 1.499 MB / 5.545 GB, free: 104.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01605/19.42, allocations: 4.241 MB / 5.549 GB, free: 104.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=553): time 1.076e-05/19.42, allocations: 1.344 kB / 5.549 GB, free: 104.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=553): time 0.04112/19.46, allocations: 10.56 MB / 5.559 GB, free: 103.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001668/19.46, allocations: 349.4 kB / 5.56 GB, free: 103.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02273/19.48, allocations: 9.065 MB / 5.568 GB, free: 102.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.00206/19.48, allocations: 138.7 kB / 5.569 GB, free: 102.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007648/19.49, allocations: 4.937 MB / 5.573 GB, free: 101.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003956/19.5, allocations: 1.919 MB / 5.575 GB, free: 100.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008452/19.5, allocations: 136.4 kB / 5.575 GB, free: 100.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000535/19.5, allocations: 0.5804 MB / 5.576 GB, free: 100.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01227/19.51, allocations: 3.567 MB / 5.579 GB, free: 100.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01448/19.52, allocations: 5.463 MB / 5.585 GB, free: 98.04 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02747/19.55, allocations: 9.422 MB / 5.594 GB, free: 95.95 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.918e-05/19.55, allocations: 15.12 kB / 5.594 GB, free: 95.95 MB / 0.948 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.03577/19.59, allocations: 10.11 MB / 5.604 GB, free: 95.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001144/19.59, allocations: 1.71 MB / 5.606 GB, free: 93.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-05/19.59, allocations: 56.22 kB / 5.606 GB, free: 93.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001445/19.59, allocations: 95.94 kB / 5.606 GB, free: 93.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01549/19.6, allocations: 1.722 MB / 5.607 GB, free: 93.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001866/19.61, allocations: 123 kB / 5.608 GB, free: 93.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01742/19.62, allocations: 1.162 MB / 5.609 GB, free: 92.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002179/19.62, allocations: 332.9 kB / 5.609 GB, free: 92.84 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/19.62, allocations: 3.5 kB / 5.609 GB, free: 92.84 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03126/19.66, allocations: 9.346 MB / 5.618 GB, free: 92.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001494/19.66, allocations: 51.75 kB / 5.618 GB, free: 92.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001045/19.66, allocations: 95.47 kB / 5.618 GB, free: 92.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01567/19.67, allocations: 1.715 MB / 5.62 GB, free: 92.66 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002066/19.67, allocations: 124.5 kB / 5.62 GB, free: 92.66 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01696/19.69, allocations: 1.06 MB / 5.621 GB, free: 92.33 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002389/19.69, allocations: 333.6 kB / 5.621 GB, free: 92.33 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.01343/19.71, allocations: 3.977 MB / 5.625 GB, free: 92.11 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005226/19.71, allocations: 0.8749 MB / 5.626 GB, free: 91.66 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03915/19.75, allocations: 8.687 MB / 5.635 GB, free: 89.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-05/19.75, allocations: 55.56 kB / 5.635 GB, free: 89.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.79e-05/19.75, allocations: 1.219 kB / 5.635 GB, free: 89.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02858/19.78, allocations: 6.83 MB / 5.641 GB, free: 86.98 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07354/19.85, allocations: 19.82 MB / 5.661 GB, free: 79.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-05/19.85, allocations: 0 / 5.661 GB, free: 79.32 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01419/19.87, allocations: 1.38 MB / 5.662 GB, free: 79.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.692e-05/19.87, allocations: 24.72 kB / 5.662 GB, free: 79.29 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001662/19.87, allocations: 178.4 kB / 5.662 GB, free: 79.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.37e-05/19.87, allocations: 24.75 kB / 5.662 GB, free: 79.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/19.87, allocations: 0 / 5.662 GB, free: 79.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04644/19.91, allocations: 12.69 MB / 5.675 GB, free: 74.25 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01028/19.93, allocations: 2.304 MB / 5.677 GB, free: 73.02 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004876/19.93, allocations: 124.6 kB / 5.677 GB, free: 72.94 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0167/19.95, allocations: 0.6967 MB / 5.678 GB, free: 72.82 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001772/19.95, allocations: 329.9 kB / 5.678 GB, free: 72.77 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002037/19.95, allocations: 289.9 kB / 5.678 GB, free: 72.72 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01897/19.97, allocations: 6.352 MB / 5.684 GB, free: 70.59 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.203e-06/19.97, allocations: 1.281 kB / 5.684 GB, free: 70.59 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.02991/20, allocations: 5.55 MB / 5.69 GB, free: 69.5 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.006236/20.01, allocations: 1.446 MB / 5.691 GB, free: 69.27 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.04708/20.05, allocations: 13.21 MB / 5.704 GB, free: 65.05 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-05/20.05, allocations: 10.44 kB / 5.704 GB, free: 65.05 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01399/20.07, allocations: 3.792 MB / 5.708 GB, free: 63.81 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05483/20.12, allocations: 5.601 MB / 5.713 GB, free: 62.89 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06973/20.19, allocations: 27.14 MB / 5.74 GB, free: 39.66 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0157/20.21, allocations: 6.919 MB / 5.747 GB, free: 34.41 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.03863/20.25, allocations: 6.001 MB / 5.753 GB, free: 30.28 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006508/20.25, allocations: 0.8436 MB / 5.753 GB, free: 29.54 MB / 0.948 GB Notification: Performance of SimCode: time 3.337e-06/20.25, allocations: 0 / 5.753 GB, free: 29.54 MB / 0.948 GB Notification: Performance of Templates: time 1.228/21.48, allocations: 187.4 MB / 5.936 GB, free: 135.2 MB / 0.9792 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)