Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.764/1.764, allocations: 297.8 MB / 313.8 MB, free: 160 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 184.3 kB / 384.6 MB, free: 10.9 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.634/1.634, allocations: 223.2 MB / 0.6626 GB, free: 4.398 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000915/0.0009151, allocations: 91.23 kB / 0.7808 GB, free: 50.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004776/0.000478, allocations: 19.94 kB / 0.9088 GB, free: 2.945 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9488/0.9493, allocations: 120.3 MB / 1.026 GB, free: 55.77 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.951/5.9, allocations: 2.192 GB / 3.219 GB, free: 37.15 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/5.9, allocations: 97.52 kB / 3.219 GB, free: 37.06 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 8.144/14.04, allocations: 2.096 GB / 5.314 GB, free: 166 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.936e-06/14.04, allocations: 0 / 5.314 GB, free: 166 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.002678/14.05, allocations: 303.5 kB / 5.315 GB, free: 165.9 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2347 * Number of variables: 2347 Notification: Performance of Generate backend data structure: time 0.04765/14.09, allocations: 11.62 MB / 5.326 GB, free: 161.4 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/14.09, allocations: 11.62 kB / 5.326 GB, free: 161.4 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01527/14.11, allocations: 2.075 MB / 5.328 GB, free: 160.8 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04267/14.15, allocations: 14.2 MB / 5.342 GB, free: 156.1 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001121/14.15, allocations: 0.6461 MB / 5.342 GB, free: 155.8 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005408/14.16, allocations: 0.8743 MB / 5.343 GB, free: 155.5 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04783/14.21, allocations: 13.38 MB / 5.356 GB, free: 148.8 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008293/14.21, allocations: 37.66 kB / 5.356 GB, free: 148.8 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005372/14.21, allocations: 382.9 kB / 5.357 GB, free: 148.5 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005651/14.21, allocations: 465.9 kB / 5.357 GB, free: 148.4 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03525/14.25, allocations: 11.92 MB / 5.369 GB, free: 142.5 MB / 0.9948 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.1161/14.37, allocations: 50.4 MB / 5.418 GB, free: 91.27 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.019/14.38, allocations: 8.111 MB / 5.426 GB, free: 83.2 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01067/14.39, allocations: 4.397 MB / 5.43 GB, free: 78.79 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002426/14.4, allocations: 1.496 MB / 5.432 GB, free: 77.03 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0147/14.41, allocations: 4.256 MB / 5.436 GB, free: 72.7 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=554): time 2.103e-05/14.41, allocations: 0 / 5.436 GB, free: 72.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=554): time 0.03686/14.45, allocations: 10.63 MB / 5.446 GB, free: 61.97 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002817/14.45, allocations: 347 kB / 5.447 GB, free: 61.56 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03004/14.48, allocations: 9.098 MB / 5.455 GB, free: 52.49 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.002332/14.48, allocations: 145.7 kB / 5.456 GB, free: 52.34 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.008829/14.49, allocations: 4.939 MB / 5.46 GB, free: 47.38 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004446/14.5, allocations: 1.921 MB / 5.462 GB, free: 45.48 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002066/14.5, allocations: 136 kB / 5.462 GB, free: 45.34 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.001098/14.5, allocations: 0.5792 MB / 5.463 GB, free: 44.76 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009386/14.51, allocations: 3.581 MB / 5.467 GB, free: 41.17 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01152/14.52, allocations: 5.485 MB / 5.472 GB, free: 34.89 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02125/14.54, allocations: 9.463 MB / 5.481 GB, free: 24.61 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001025/14.54, allocations: 16 kB / 5.481 GB, free: 24.59 MB / 0.9948 GB Notification: Performance of matching and sorting (n=867) (initialization): time 0.03338/14.57, allocations: 10.14 MB / 5.491 GB, free: 14.37 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001565/14.58, allocations: 1.718 MB / 5.493 GB, free: 11.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001374/14.58, allocations: 56 kB / 5.493 GB, free: 11.83 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/14.58, allocations: 88 kB / 5.493 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01013/14.59, allocations: 1.731 MB / 5.495 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003686/14.59, allocations: 119.6 kB / 5.495 GB, free: 9.898 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01819/14.61, allocations: 1.179 MB / 5.496 GB, free: 8.711 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002788/14.61, allocations: 339.8 kB / 5.496 GB, free: 8.379 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/14.61, allocations: 7.75 kB / 5.496 GB, free: 8.375 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.8947/15.5, allocations: 9.375 MB / 5.505 GB, free: 160.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000132/15.5, allocations: 52.72 kB / 5.505 GB, free: 160.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001062/15.5, allocations: 91.16 kB / 5.505 GB, free: 160.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009433/15.51, allocations: 1.727 MB / 5.507 GB, free: 160.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002351/15.51, allocations: 121.5 kB / 5.507 GB, free: 160.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01339/15.53, allocations: 1.065 MB / 5.508 GB, free: 160.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002911/15.53, allocations: 335.5 kB / 5.509 GB, free: 160.5 MB / 0.9948 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 (867): * Single equations (assignments): 867 * 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.0157/15.54, allocations: 3.986 MB / 5.512 GB, free: 160.3 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007172/15.55, allocations: 0.8808 MB / 5.513 GB, free: 160.3 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03257/15.58, allocations: 8.727 MB / 5.522 GB, free: 160 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-05/15.58, allocations: 55.2 kB / 5.522 GB, free: 160 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.944e-05/15.58, allocations: 1.688 kB / 5.522 GB, free: 160 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02139/15.61, allocations: 6.872 MB / 5.529 GB, free: 159.7 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0757/15.68, allocations: 19.9 MB / 5.548 GB, free: 158.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.309e-05/15.68, allocations: 2.906 kB / 5.548 GB, free: 158.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008616/15.69, allocations: 1.387 MB / 5.549 GB, free: 158.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001287/15.69, allocations: 19.72 kB / 5.549 GB, free: 158.8 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001996/15.69, allocations: 182.2 kB / 5.55 GB, free: 158.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001516/15.69, allocations: 18.16 kB / 5.55 GB, free: 158.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-06/15.69, allocations: 2.812 kB / 5.55 GB, free: 158.8 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03854/15.73, allocations: 12.76 MB / 5.562 GB, free: 158.2 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01213/15.74, allocations: 2.318 MB / 5.564 GB, free: 157.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006604/15.75, allocations: 120.2 kB / 5.564 GB, free: 157.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0141/15.76, allocations: 0.7047 MB / 5.565 GB, free: 157.6 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002482/15.77, allocations: 325.9 kB / 5.565 GB, free: 157.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002847/15.77, allocations: 292.7 kB / 5.566 GB, free: 157.6 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.02196/15.79, allocations: 6.371 MB / 5.572 GB, free: 157.4 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9.92e-07/15.79, allocations: 0 / 5.572 GB, free: 157.4 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.04063/15.83, allocations: 5.597 MB / 5.577 GB, free: 157 MB / 0.9948 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 (575): * Single equations (assignments): 569 * 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.007885/15.84, allocations: 1.499 MB / 5.579 GB, free: 156.9 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.04534/15.89, allocations: 13.28 MB / 5.592 GB, free: 156.7 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.825e-05/15.89, allocations: 9.938 kB / 5.592 GB, free: 156.7 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.01553/15.9, allocations: 3.812 MB / 5.596 GB, free: 156.6 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05181/15.95, allocations: 5.609 MB / 5.601 GB, free: 156.6 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08557/16.04, allocations: 27.21 MB / 5.628 GB, free: 147.2 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02442/16.06, allocations: 6.923 MB / 5.634 GB, free: 146.2 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.03212/16.1, allocations: 5.928 MB / 5.64 GB, free: 145.2 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006916/16.1, allocations: 0.8439 MB / 5.641 GB, free: 145.2 MB / 0.9948 GB Notification: Performance of SimCode: time 1.994e-06/16.1, allocations: 0 / 5.641 GB, free: 145.2 MB / 0.9948 GB Notification: Performance of Templates: time 0.3275/16.43, allocations: 190.6 MB / 5.827 GB, free: 29.15 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1)