Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.747/1.747, allocations: 288.2 MB / 303.2 MB, free: 8.031 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.001634/0.001634, allocations: 187.1 kB / 371.8 MB, free: 10.16 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.053/2.053, allocations: 205.4 MB / 0.6305 GB, free: 10.07 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.0009779/0.000978, allocations: 90.86 kB / 0.7439 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006015/0.0006016, allocations: 12.69 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3157, allocations: 115.3 MB / 0.9795 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.546/6.861, allocations: 2.358 GB / 3.337 GB, free: 330.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/6.862, allocations: 99.33 kB / 3.338 GB, free: 330.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.55/17.42, allocations: 2.838 GB / 6.176 GB, free: 92.56 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.705e-06/17.42, allocations: 0 / 6.176 GB, free: 92.56 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.002678/17.42, allocations: 377.5 kB / 6.176 GB, free: 92.21 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: 2944 * Number of variables: 2944 Notification: Performance of Generate backend data structure: time 0.04867/17.47, allocations: 14.69 MB / 6.191 GB, free: 77.61 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/17.47, allocations: 12.03 kB / 6.191 GB, free: 77.59 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007085/17.47, allocations: 1.543 MB / 6.192 GB, free: 76.04 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02/17.49, allocations: 3.025 MB / 6.195 GB, free: 73 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05085/17.54, allocations: 18.21 MB / 6.213 GB, free: 55.03 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009315/17.55, allocations: 0.8231 MB / 6.214 GB, free: 54.21 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004734/17.55, allocations: 1.094 MB / 6.215 GB, free: 53.12 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04362/17.59, allocations: 16.72 MB / 6.231 GB, free: 35.89 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004475/17.59, allocations: 47.55 kB / 6.231 GB, free: 35.85 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003146/17.6, allocations: 483.7 kB / 6.232 GB, free: 35.38 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004342/17.6, allocations: 0.564 MB / 6.232 GB, free: 34.82 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03793/17.64, allocations: 15.08 MB / 6.247 GB, free: 19.71 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.7738/18.41, allocations: 63.23 MB / 6.309 GB, free: 87.66 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0202/18.43, allocations: 10.46 MB / 6.319 GB, free: 87.4 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0025/18.43, allocations: 2.386 MB / 6.321 GB, free: 84.95 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01136/18.44, allocations: 5.739 MB / 6.327 GB, free: 84.74 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=704): time 8.806e-06/18.44, allocations: 0 / 6.327 GB, free: 84.74 MB / 0.9948 GB Notification: Performance of matching and sorting (n=704): time 0.03479/18.48, allocations: 13.87 MB / 6.34 GB, free: 84.06 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/18.48, allocations: 359.9 kB / 6.341 GB, free: 83.71 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02159/18.5, allocations: 11.09 MB / 6.352 GB, free: 83.14 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.002551/18.5, allocations: 169.5 kB / 6.352 GB, free: 83.11 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00734/18.51, allocations: 6.261 MB / 6.358 GB, free: 81.61 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004181/18.52, allocations: 2.449 MB / 6.36 GB, free: 80.38 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008908/18.52, allocations: 168.7 kB / 6.36 GB, free: 80.38 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0005519/18.52, allocations: 0.651 MB / 6.361 GB, free: 80.05 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008958/18.53, allocations: 4.611 MB / 6.366 GB, free: 80.03 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01026/18.54, allocations: 6.883 MB / 6.372 GB, free: 77.49 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01098/18.55, allocations: 5.814 MB / 6.378 GB, free: 77.4 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.846e-05/18.55, allocations: 21.11 kB / 6.378 GB, free: 77.39 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.02836/18.58, allocations: 12.98 MB / 6.391 GB, free: 76.63 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.01227/18.59, allocations: 37.01 MB / 6.427 GB, free: 54.61 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002376/18.59, allocations: 61.69 kB / 6.427 GB, free: 54.61 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/18.59, allocations: 195.2 kB / 6.427 GB, free: 54.6 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01298/18.6, allocations: 2.354 MB / 6.429 GB, free: 54.6 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/18.6, allocations: 1.688 MB / 6.431 GB, free: 53.31 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.018/18.62, allocations: 1.59 MB / 6.433 GB, free: 52.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002815/18.63, allocations: 429.8 kB / 6.433 GB, free: 52.89 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/18.63, allocations: 5 kB / 6.433 GB, free: 52.89 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0291/18.65, allocations: 12.03 MB / 6.445 GB, free: 52.71 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002151/18.65, allocations: 67.36 kB / 6.445 GB, free: 52.71 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006695/18.66, allocations: 196.9 kB / 6.445 GB, free: 52.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01259/18.67, allocations: 2.352 MB / 6.447 GB, free: 52.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004257/18.67, allocations: 1.695 MB / 6.449 GB, free: 67.41 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01796/18.69, allocations: 1.419 MB / 6.45 GB, free: 66.96 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00367/18.69, allocations: 428.6 kB / 6.451 GB, free: 66.96 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 293 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1095): * Single equations (assignments): 1094 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01485/18.71, allocations: 4.811 MB / 6.455 GB, free: 66.73 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004981/18.71, allocations: 1.101 MB / 6.456 GB, free: 66.17 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02915/18.74, allocations: 11.51 MB / 6.468 GB, free: 65.71 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.344e-05/18.74, allocations: 76.11 kB / 6.468 GB, free: 65.71 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/18.74, allocations: 3.719 kB / 6.468 GB, free: 65.71 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02259/18.77, allocations: 9.179 MB / 6.477 GB, free: 65.17 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07204/18.84, allocations: 26.25 MB / 6.502 GB, free: 63.3 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.738e-05/18.84, allocations: 11.38 kB / 6.502 GB, free: 63.3 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01055/18.85, allocations: 1.714 MB / 6.504 GB, free: 63.29 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006507/18.85, allocations: 116.5 kB / 6.504 GB, free: 63.29 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001698/18.85, allocations: 246.1 kB / 6.504 GB, free: 63.22 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/18.85, allocations: 1.606 MB / 6.506 GB, free: 61.79 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.288e-06/18.85, allocations: 15.44 kB / 6.506 GB, free: 61.79 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03599/18.89, allocations: 19.52 MB / 6.525 GB, free: 51.67 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01254/18.9, allocations: 3.046 MB / 6.528 GB, free: 50.04 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007281/18.91, allocations: 170.2 kB / 6.528 GB, free: 49.93 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01606/18.92, allocations: 0.8228 MB / 6.529 GB, free: 49.73 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002087/18.93, allocations: 454.5 kB / 6.529 GB, free: 49.66 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002601/18.93, allocations: 380.6 kB / 6.53 GB, free: 49.6 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.02018/18.95, allocations: 8.701 MB / 6.538 GB, free: 46.65 MB / 1.026 GB Notification: Performance of sort global known variables: time 8.01e-07/18.95, allocations: 0 / 6.538 GB, free: 46.65 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.03495/18.98, allocations: 7.129 MB / 6.545 GB, free: 45.23 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 40 (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,TOut.T,TIn.T,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol1.vol[4].dynBal.U,solCol1.vol[5].dynBal.U,solCol1.vol[6].dynBal.U,solCol1.vol[7].dynBal.U,solCol1.vol[8].dynBal.U,solCol1.vol[9].dynBal.U,solCol1.vol[10].dynBal.U,solCol1.vol[11].dynBal.U,solCol1.vol[12].dynBal.U,solCol1.vol[13].dynBal.U,solCol1.vol[14].dynBal.U,solCol1.vol[15].dynBal.U,solCol1.vol[16].dynBal.U,solCol1.vol[17].dynBal.U,solCol1.vol[18].dynBal.U,solCol1.vol[19].dynBal.U,solCol1.vol[20].dynBal.U,solCol1.vol[21].dynBal.U,solCol1.vol[22].dynBal.U,solCol1.vol[23].dynBal.U,solCol1.vol[24].dynBal.U,solCol1.vol[25].dynBal.U,solCol1.vol[26].dynBal.U,solCol1.vol[27].dynBal.U,TOut1.T,TIn1.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (729): * Single equations (assignments): 716 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.05536/19.04, allocations: 23.07 MB / 6.568 GB, free: 33.2 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.04224/19.08, allocations: 17.25 MB / 6.585 GB, free: 27.45 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.542e-05/19.08, allocations: 14.86 kB / 6.585 GB, free: 27.45 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.01347/19.1, allocations: 5.045 MB / 6.59 GB, free: 25.68 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0348/19.13, allocations: 6.86 MB / 6.596 GB, free: 21.7 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.19/20.32, allocations: 91.2 MB / 6.685 GB, free: 137 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02149/20.34, allocations: 8.632 MB / 6.694 GB, free: 136 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.04038/20.38, allocations: 7.048 MB / 6.701 GB, free: 135.9 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0175/20.4, allocations: 5.95 MB / 6.706 GB, free: 135.9 MB / 1.057 GB Notification: Performance of SimCode: time 2.835e-06/20.4, allocations: 0 / 6.706 GB, free: 135.9 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.224/21.62, allocations: 361.1 MB / 7.059 GB, free: 153.2 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001604/21.62, allocations: 271.3 kB / 7.059 GB, free: 152.9 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.33/36.95, allocations: 3.844 kB / 7.059 GB, free: 152.9 MB / 1.089 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1)