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.606/1.606, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001036/0.001036, allocations: 180.9 kB / 361.4 MB, free: 6.859 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.669/1.669, allocations: 205.3 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008799/0.0008798, allocations: 96.39 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.128e-05/2.13e-05, allocations: 4 kB / 0.8517 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7026/0.7026, allocations: 115.3 MB / 0.9644 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.257/5.96, allocations: 2.357 GB / 3.322 GB, free: 39.94 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/5.96, allocations: 94.03 kB / 3.322 GB, free: 39.9 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 8.277/14.24, allocations: 2.086 GB / 5.408 GB, free: 104.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.976e-06/14.24, allocations: 0 / 5.408 GB, free: 104.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.003021/14.24, allocations: 303.7 kB / 5.408 GB, free: 103.9 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.04185/14.28, allocations: 9.569 MB / 5.417 GB, free: 94.34 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/14.28, allocations: 8.031 kB / 5.417 GB, free: 94.33 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01518/14.3, allocations: 2.035 MB / 5.419 GB, free: 92.28 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04365/14.34, allocations: 14.73 MB / 5.434 GB, free: 77.54 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006964/14.34, allocations: 280 kB / 5.434 GB, free: 77.26 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004703/14.35, allocations: 0.5076 MB / 5.435 GB, free: 76.75 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02754/14.37, allocations: 10.26 MB / 5.445 GB, free: 66.49 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04229/14.42, allocations: 11.49 MB / 5.456 GB, free: 54.54 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006907/14.42, allocations: 43.7 kB / 5.456 GB, free: 54.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004558/14.42, allocations: 16 kB / 5.456 GB, free: 54.48 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004762/14.42, allocations: 464.9 kB / 5.456 GB, free: 54.02 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.1012/14.52, allocations: 48.96 MB / 5.504 GB, free: 3.453 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7877/15.31, allocations: 7.378 MB / 5.511 GB, free: 145.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007952/15.32, allocations: 3.899 MB / 5.515 GB, free: 145.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00197/15.32, allocations: 1.502 MB / 5.517 GB, free: 143.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008916/15.33, allocations: 3.737 MB / 5.52 GB, free: 143.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=553): time 9.307e-06/15.33, allocations: 2.094 kB / 5.52 GB, free: 143.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=553): time 0.07096/15.4, allocations: 11.36 MB / 5.531 GB, free: 143.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/15.4, allocations: 342 kB / 5.532 GB, free: 143.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01528/15.42, allocations: 7.687 MB / 5.539 GB, free: 142.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.002026/15.42, allocations: 36.64 kB / 5.539 GB, free: 142.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00578/15.43, allocations: 4.89 MB / 5.544 GB, free: 141.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003516/15.43, allocations: 1.851 MB / 5.546 GB, free: 140.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005352/15.43, allocations: 0 / 5.546 GB, free: 140.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000439/15.43, allocations: 0.5792 MB / 5.546 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004247/15.43, allocations: 3.128 MB / 5.549 GB, free: 140.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005871/15.44, allocations: 4.959 MB / 5.554 GB, free: 138.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1595/15.6, allocations: 16.07 MB / 5.57 GB, free: 138 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001347/15.6, allocations: 15.38 kB / 5.57 GB, free: 138 MB / 0.948 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.1753/15.77, allocations: 20.73 MB / 5.59 GB, free: 137.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.006522/15.78, allocations: 27.49 MB / 5.617 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003155/15.78, allocations: 54.25 kB / 5.617 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002317/15.78, allocations: 95.56 kB / 5.617 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009722/15.79, allocations: 1.836 MB / 5.619 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001724/15.79, allocations: 124 kB / 5.619 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01215/15.8, allocations: 1.014 MB / 5.62 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002172/15.81, allocations: 343.7 kB / 5.62 GB, free: 107.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/15.81, allocations: 3.219 kB / 5.62 GB, free: 107.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.164/15.97, allocations: 19.9 MB / 5.64 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001307/15.97, allocations: 59.5 kB / 5.64 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.509e-05/15.97, allocations: 96.47 kB / 5.64 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008235/15.98, allocations: 1.828 MB / 5.642 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001345/15.98, allocations: 125 kB / 5.642 GB, free: 106.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01142/15.99, allocations: 0.8961 MB / 5.643 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00185/15.99, allocations: 334 kB / 5.643 GB, free: 106.5 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.002199/15.99, allocations: 297.4 kB / 5.643 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003207/16, allocations: 0.8029 MB / 5.644 GB, free: 106 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06812/16.07, allocations: 12.37 MB / 5.656 GB, free: 105.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.201e-05/16.07, allocations: 56.75 kB / 5.656 GB, free: 105.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/16.07, allocations: 3.234 kB / 5.656 GB, free: 105.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06557/16.13, allocations: 10.7 MB / 5.667 GB, free: 104.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09602/16.23, allocations: 22.75 MB / 5.689 GB, free: 103.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.613e-05/16.23, allocations: 3.375 kB / 5.689 GB, free: 103.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007709/16.24, allocations: 1.317 MB / 5.69 GB, free: 103.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001242/16.24, allocations: 20.91 kB / 5.69 GB, free: 103.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001147/16.24, allocations: 120.2 kB / 5.69 GB, free: 103.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.087e-05/16.24, allocations: 17.31 kB / 5.69 GB, free: 103.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.689e-06/16.24, allocations: 2.5 kB / 5.69 GB, free: 103.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07424/16.31, allocations: 16.24 MB / 5.706 GB, free: 101.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009742/16.32, allocations: 2.354 MB / 5.709 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004488/16.33, allocations: 37.67 kB / 5.709 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01236/16.34, allocations: 0.6078 MB / 5.709 GB, free: 101.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002194/16.34, allocations: 324.9 kB / 5.71 GB, free: 101.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001698/16.34, allocations: 289.6 kB / 5.71 GB, free: 101.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01615/16.36, allocations: 5.888 MB / 5.716 GB, free: 100.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.12e-07/16.36, allocations: 0 / 5.716 GB, free: 100.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.03313/16.39, allocations: 5.394 MB / 5.721 GB, free: 100 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.005326/16.4, allocations: 1.235 MB / 5.722 GB, free: 99.78 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.02394/16.42, allocations: 11.99 MB / 5.734 GB, free: 95.02 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.14e-05/16.42, allocations: 7.5 kB / 5.734 GB, free: 95.02 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005792/16.43, allocations: 3.393 MB / 5.737 GB, free: 92.08 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02797/16.45, allocations: 4.754 MB / 5.742 GB, free: 88.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04515/16.5, allocations: 19.38 MB / 5.761 GB, free: 71.71 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009414/16.51, allocations: 7.12 MB / 5.768 GB, free: 66.45 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.03393/16.54, allocations: 8.592 MB / 5.776 GB, free: 60.77 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003539/16.55, allocations: 0.652 MB / 5.777 GB, free: 60.21 MB / 0.948 GB Notification: Performance of SimCode: time 1.232e-06/16.55, allocations: 0 / 5.777 GB, free: 60.21 MB / 0.948 GB Notification: Performance of Templates: time 0.9169/17.46, allocations: 169.2 MB / 5.942 GB, free: 161.3 MB / 0.9792 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)