Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.441/1.441, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001322/0.001322, allocations: 178.8 kB / 326.5 MB, free: 2.246 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.106/2.106, allocations: 205.4 MB / 0.5775 GB, free: 20.54 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.0009751/0.0009751, allocations: 99.84 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003824, allocations: 8.719 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2654, allocations: 106.3 MB / 0.9001 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.209/7.474, allocations: 2.475 GB / 3.375 GB, free: 35.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/7.474, allocations: 93.02 kB / 3.375 GB, free: 35.55 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 11.73/19.2, allocations: 2.773 GB / 6.148 GB, free: 33.91 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.853e-06/19.2, allocations: 4 kB / 6.148 GB, free: 33.91 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.002959/19.21, allocations: 373 kB / 6.148 GB, free: 33.57 MB / 0.9167 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.05663/19.26, allocations: 14.67 MB / 6.162 GB, free: 18.89 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/19.26, allocations: 8.031 kB / 6.162 GB, free: 18.88 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01033/19.27, allocations: 1.537 MB / 6.164 GB, free: 17.33 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02277/19.3, allocations: 3.02 MB / 6.167 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0567/19.35, allocations: 18.13 MB / 6.185 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001274/19.36, allocations: 0.8185 MB / 6.185 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006081/19.36, allocations: 1.101 MB / 6.187 GB, free: 10.26 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7626/20.12, allocations: 16.52 MB / 6.203 GB, free: 97.18 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001045/20.13, allocations: 40.27 kB / 6.203 GB, free: 97.18 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005751/20.13, allocations: 476.2 kB / 6.203 GB, free: 97.18 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007774/20.13, allocations: 0.5594 MB / 6.204 GB, free: 97.15 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0456/20.18, allocations: 15.09 MB / 6.218 GB, free: 97.06 MB / 0.9323 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.1311/20.31, allocations: 63.02 MB / 6.28 GB, free: 75.78 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02252/20.33, allocations: 10.44 MB / 6.29 GB, free: 75.51 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002811/20.33, allocations: 2.389 MB / 6.292 GB, free: 73.07 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01529/20.35, allocations: 5.616 MB / 6.298 GB, free: 72.85 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=704): time 1.356e-05/20.35, allocations: 0 / 6.298 GB, free: 72.85 MB / 0.9323 GB Notification: Performance of matching and sorting (n=704): time 0.04224/20.39, allocations: 13.87 MB / 6.312 GB, free: 71.93 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000163/20.39, allocations: 356.7 kB / 6.312 GB, free: 71.58 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02827/20.42, allocations: 11.09 MB / 6.323 GB, free: 71.02 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.002425/20.42, allocations: 163.8 kB / 6.323 GB, free: 70.98 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.009918/20.43, allocations: 6.257 MB / 6.329 GB, free: 69.48 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.004807/20.44, allocations: 2.451 MB / 6.331 GB, free: 68.02 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002134/20.44, allocations: 169.1 kB / 6.332 GB, free: 68.02 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000942/20.44, allocations: 0.6525 MB / 6.332 GB, free: 67.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01126/20.45, allocations: 4.606 MB / 6.337 GB, free: 67.67 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01353/20.47, allocations: 6.881 MB / 6.343 GB, free: 65.13 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01285/20.48, allocations: 5.815 MB / 6.349 GB, free: 65.04 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.411e-05/20.48, allocations: 19.81 kB / 6.349 GB, free: 65.04 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.03817/20.52, allocations: 12.99 MB / 6.362 GB, free: 64.27 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.01569/20.53, allocations: 37.01 MB / 6.398 GB, free: 58.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003288/20.53, allocations: 60.75 kB / 6.398 GB, free: 58.16 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009796/20.53, allocations: 196.2 kB / 6.398 GB, free: 58.15 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0135/20.55, allocations: 2.358 MB / 6.4 GB, free: 58.15 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002681/20.55, allocations: 1.687 MB / 6.402 GB, free: 56.85 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01858/20.57, allocations: 1.592 MB / 6.404 GB, free: 56.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00294/20.57, allocations: 427.5 kB / 6.404 GB, free: 56.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/20.57, allocations: 3.469 kB / 6.404 GB, free: 56.3 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03542/20.61, allocations: 12.04 MB / 6.416 GB, free: 56.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003261/20.61, allocations: 65.91 kB / 6.416 GB, free: 56.11 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008212/20.61, allocations: 200.7 kB / 6.416 GB, free: 56.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01293/20.62, allocations: 2.349 MB / 6.418 GB, free: 55.99 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/20.62, allocations: 1.688 MB / 6.42 GB, free: 54.67 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01946/20.64, allocations: 1.427 MB / 6.421 GB, free: 54.22 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003612/20.65, allocations: 426 kB / 6.422 GB, free: 54.22 MB / 0.9636 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.01422/20.66, allocations: 4.806 MB / 6.426 GB, free: 53.86 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005614/20.67, allocations: 1.097 MB / 6.428 GB, free: 53.29 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03454/20.7, allocations: 11.5 MB / 6.439 GB, free: 50.28 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-05/20.7, allocations: 80.11 kB / 6.439 GB, free: 50.27 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.91e-05/20.7, allocations: 0 / 6.439 GB, free: 50.27 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02393/20.73, allocations: 9.175 MB / 6.448 GB, free: 46.88 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06801/20.79, allocations: 26.1 MB / 6.473 GB, free: 36.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.163e-05/20.79, allocations: 13.2 kB / 6.473 GB, free: 36.45 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01063/20.8, allocations: 1.712 MB / 6.475 GB, free: 36.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006538/20.8, allocations: 121.5 kB / 6.475 GB, free: 36.27 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001939/20.81, allocations: 235 kB / 6.475 GB, free: 36.18 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001939/20.81, allocations: 1.608 MB / 6.477 GB, free: 34.71 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.167e-05/20.81, allocations: 26.34 kB / 6.477 GB, free: 34.7 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05058/20.86, allocations: 19.49 MB / 6.496 GB, free: 24.45 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01425/20.87, allocations: 2.992 MB / 6.499 GB, free: 22.83 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006102/20.88, allocations: 165.7 kB / 6.499 GB, free: 22.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01502/20.89, allocations: 0.818 MB / 6.5 GB, free: 22.52 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002368/20.9, allocations: 459.8 kB / 6.5 GB, free: 22.44 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002754/20.9, allocations: 353.4 kB / 6.501 GB, free: 22.38 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0214/20.92, allocations: 8.698 MB / 6.509 GB, free: 19.43 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9.12e-07/20.92, allocations: 0 / 6.509 GB, free: 19.43 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.03465/20.96, allocations: 7.109 MB / 6.516 GB, free: 13.86 MB / 0.9636 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.05727/21.01, allocations: 23.12 MB / 6.539 GB, free: 9.398 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.04725/21.06, allocations: 17.35 MB / 6.556 GB, free: 10.9 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-05/21.06, allocations: 11 kB / 6.556 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.01477/21.08, allocations: 5.043 MB / 6.561 GB, free: 6.57 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03701/21.11, allocations: 6.85 MB / 6.567 GB, free: 1.684 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.342/22.45, allocations: 90.55 MB / 6.656 GB, free: 91.2 MB / 0.9949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02222/22.48, allocations: 8.637 MB / 6.664 GB, free: 90.1 MB / 0.9949 GB Notification: Performance of simCode: alias equations: time 0.03714/22.51, allocations: 6.984 MB / 6.671 GB, free: 89.04 MB / 0.9949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01911/22.53, allocations: 5.943 MB / 6.677 GB, free: 89.02 MB / 0.9949 GB Notification: Performance of SimCode: time 1.272e-06/22.53, allocations: 0 / 6.677 GB, free: 89.02 MB / 0.9949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.289/23.82, allocations: 358.8 MB / 7.027 GB, free: 154.4 MB / 1.011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/23.82, allocations: 283.8 kB / 7.027 GB, free: 154 MB / 1.011 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.75/38.57, allocations: 0 / 7.027 GB, free: 154 MB / 1.011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea.fmu > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1)