Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Validation.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.257/2.257, allocations: 251.1 MB / 266.7 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001398/0.001398, allocations: 175.1 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.362/2.362, allocations: 205.4 MB / 0.5772 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009557/0.0009551, allocations: 94.05 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004677/0.0004678, allocations: 11.31 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2219, allocations: 106.3 MB / 0.8995 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.584/7.806, allocations: 2.475 GB / 3.374 GB, free: 43.64 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/7.806, allocations: 99.08 kB / 3.374 GB, free: 43.59 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 10.87/18.68, allocations: 2.042 GB / 5.416 GB, free: 53.63 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.746e-06/18.68, allocations: 0 / 5.416 GB, free: 53.63 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.002159/18.68, allocations: 299.7 kB / 5.417 GB, free: 53.34 MB / 0.8855 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.0527/18.73, allocations: 11.67 MB / 5.428 GB, free: 41.56 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/18.73, allocations: 11.97 kB / 5.428 GB, free: 41.55 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01921/18.75, allocations: 2.043 MB / 5.43 GB, free: 39.49 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05308/18.8, allocations: 13.85 MB / 5.443 GB, free: 25.57 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009829/18.81, allocations: 0.6464 MB / 5.444 GB, free: 24.92 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004673/18.81, allocations: 0.8712 MB / 5.445 GB, free: 24.05 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0505/18.86, allocations: 13.14 MB / 5.458 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006775/18.86, allocations: 35.66 kB / 5.458 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004023/18.87, allocations: 380 kB / 5.458 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005324/18.87, allocations: 456.9 kB / 5.459 GB, free: 9.59 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7614/19.63, allocations: 11.85 MB / 5.47 GB, free: 119.1 MB / 0.8855 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.1299/19.76, allocations: 50.05 MB / 5.519 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02585/19.78, allocations: 8.126 MB / 5.527 GB, free: 101 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01439/19.8, allocations: 4.373 MB / 5.531 GB, free: 101 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002884/19.8, allocations: 1.503 MB / 5.533 GB, free: 99.46 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01567/19.82, allocations: 4.13 MB / 5.537 GB, free: 99.29 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=553): time 1.066e-05/19.82, allocations: 0 / 5.537 GB, free: 99.29 MB / 0.8855 GB Notification: Performance of matching and sorting (n=553): time 0.04595/19.86, allocations: 10.57 MB / 5.547 GB, free: 98.59 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00017/19.86, allocations: 343.8 kB / 5.547 GB, free: 98.24 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02508/19.89, allocations: 9.07 MB / 5.556 GB, free: 97.71 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001968/19.89, allocations: 131.4 kB / 5.556 GB, free: 97.68 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.008355/19.9, allocations: 4.931 MB / 5.561 GB, free: 96.48 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.00451/19.9, allocations: 1.925 MB / 5.563 GB, free: 95.43 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001751/19.9, allocations: 136.3 kB / 5.563 GB, free: 95.43 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0007805/19.91, allocations: 0.5761 MB / 5.564 GB, free: 95.11 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01382/19.92, allocations: 3.567 MB / 5.567 GB, free: 95.09 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01633/19.94, allocations: 5.461 MB / 5.573 GB, free: 93 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01648/19.95, allocations: 4.573 MB / 5.577 GB, free: 92.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.181e-05/19.95, allocations: 12.78 kB / 5.577 GB, free: 92.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.04102/19.99, allocations: 10.1 MB / 5.587 GB, free: 92.26 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001323/19.99, allocations: 1.707 MB / 5.589 GB, free: 90.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001507/20, allocations: 54.28 kB / 5.589 GB, free: 90.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001584/20, allocations: 90.44 kB / 5.589 GB, free: 90.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01638/20.01, allocations: 1.723 MB / 5.59 GB, free: 90.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002148/20.01, allocations: 124.4 kB / 5.591 GB, free: 90.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01868/20.03, allocations: 1.16 MB / 5.592 GB, free: 89.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002414/20.03, allocations: 332.3 kB / 5.592 GB, free: 89.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/20.03, allocations: 3.969 kB / 5.592 GB, free: 89.8 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03653/20.07, allocations: 9.347 MB / 5.601 GB, free: 89.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001663/20.07, allocations: 54.41 kB / 5.601 GB, free: 89.62 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001281/20.07, allocations: 86.62 kB / 5.601 GB, free: 89.62 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01638/20.09, allocations: 1.727 MB / 5.603 GB, free: 89.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002251/20.09, allocations: 121.3 kB / 5.603 GB, free: 89.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0176/20.1, allocations: 1.061 MB / 5.604 GB, free: 89.29 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002327/20.11, allocations: 336.5 kB / 5.604 GB, free: 89.29 MB / 0.8855 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.01282/20.12, allocations: 3.967 MB / 5.608 GB, free: 89.07 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004509/20.12, allocations: 0.8813 MB / 5.609 GB, free: 88.61 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03757/20.16, allocations: 8.695 MB / 5.618 GB, free: 88.23 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-05/20.16, allocations: 55.91 kB / 5.618 GB, free: 88.23 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.955e-05/20.16, allocations: 4.75 kB / 5.618 GB, free: 88.23 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02818/20.19, allocations: 6.83 MB / 5.624 GB, free: 87.98 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07737/20.27, allocations: 19.7 MB / 5.644 GB, free: 81.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.568e-05/20.27, allocations: 0 / 5.644 GB, free: 81.34 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01499/20.28, allocations: 1.38 MB / 5.645 GB, free: 81.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.367e-05/20.28, allocations: 18.97 kB / 5.645 GB, free: 81.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00154/20.28, allocations: 180.4 kB / 5.645 GB, free: 81.22 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.694e-05/20.28, allocations: 25.77 kB / 5.645 GB, free: 81.22 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/20.28, allocations: 0 / 5.645 GB, free: 81.22 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04308/20.33, allocations: 12.69 MB / 5.658 GB, free: 76.27 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009948/20.34, allocations: 2.259 MB / 5.66 GB, free: 75.04 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003737/20.34, allocations: 120.2 kB / 5.66 GB, free: 74.96 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01598/20.36, allocations: 0.6816 MB / 5.661 GB, free: 74.85 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001677/20.36, allocations: 341.5 kB / 5.661 GB, free: 74.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001427/20.36, allocations: 263.5 kB / 5.661 GB, free: 74.75 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.01821/20.38, allocations: 6.353 MB / 5.667 GB, free: 72.62 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.91e-07/20.38, allocations: 0 / 5.667 GB, free: 72.62 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.02799/20.41, allocations: 5.534 MB / 5.673 GB, free: 71.53 MB / 0.8855 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.005769/20.41, allocations: 1.434 MB / 5.674 GB, free: 71.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.04611/20.46, allocations: 13.21 MB / 5.687 GB, free: 67.13 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.675e-05/20.46, allocations: 8.438 kB / 5.687 GB, free: 67.13 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.01387/20.47, allocations: 3.791 MB / 5.691 GB, free: 65.19 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05037/20.52, allocations: 5.67 MB / 5.696 GB, free: 61.36 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07042/20.59, allocations: 27.13 MB / 5.723 GB, free: 37 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01569/20.61, allocations: 6.917 MB / 5.73 GB, free: 31.75 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.03856/20.65, allocations: 5.962 MB / 5.735 GB, free: 27.64 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006487/20.65, allocations: 0.8308 MB / 5.736 GB, free: 26.92 MB / 0.8855 GB Notification: Performance of SimCode: time 1.503e-06/20.65, allocations: 3.938 kB / 5.736 GB, free: 26.91 MB / 0.8855 GB Notification: Performance of Templates: time 1.196/21.85, allocations: 185.1 MB / 5.917 GB, free: 130.2 MB / 0.9167 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Validation.FlatPlate.pipe 2>&1)