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.751/1.751, allocations: 285.4 MB / 298 MB, free: 6.004 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.0011/0.0011, allocations: 168.9 kB / 366.4 MB, free: 2.082 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.833/1.833, allocations: 205.1 MB / 0.6248 GB, free: 7.754 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.0008769/0.0008769, allocations: 81.59 kB / 0.738 GB, free: 40.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.006e-05/4.008e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7852/0.7852, allocations: 115.3 MB / 0.971 GB, free: 77.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.902/6.687, allocations: 2.358 GB / 3.329 GB, free: 159.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/6.688, allocations: 100.4 kB / 3.329 GB, free: 159.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 12.25/18.94, allocations: 2.831 GB / 6.16 GB, free: 106.8 MB / 0.9949 GB Notification: Performance of FrontEnd: time 2.054e-06/18.94, allocations: 0.9375 kB / 6.16 GB, free: 106.8 MB / 0.9949 GB Notification: Performance of Transformations before backend: time 0.002924/18.94, allocations: 378.1 kB / 6.16 GB, free: 106.7 MB / 0.9949 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.04609/18.99, allocations: 12.04 MB / 6.172 GB, free: 102.3 MB / 0.9949 GB Notification: Performance of prepare preOptimizeDAE: time 7.146e-05/18.99, allocations: 9.656 kB / 6.172 GB, free: 102.3 MB / 0.9949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008825/19, allocations: 1.522 MB / 6.174 GB, free: 102.2 MB / 0.9949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02204/19.02, allocations: 3.018 MB / 6.177 GB, free: 101.4 MB / 0.9949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05381/19.07, allocations: 18.14 MB / 6.194 GB, free: 99.81 MB / 0.9949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001109/19.07, allocations: 0.8194 MB / 6.195 GB, free: 99.79 MB / 0.9949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005734/19.08, allocations: 1.099 MB / 6.196 GB, free: 99.77 MB / 0.9949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04949/19.13, allocations: 16 MB / 6.212 GB, free: 98.09 MB / 0.9949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009317/19.13, allocations: 33.84 kB / 6.212 GB, free: 98.09 MB / 0.9949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00602/19.14, allocations: 485.3 kB / 6.212 GB, free: 98.09 MB / 0.9949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006658/19.14, allocations: 0.5595 MB / 6.213 GB, free: 98.07 MB / 0.9949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04025/19.18, allocations: 13.76 MB / 6.226 GB, free: 97.97 MB / 0.9949 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.1318/19.31, allocations: 63.25 MB / 6.288 GB, free: 75.34 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01728/19.33, allocations: 9.582 MB / 6.297 GB, free: 75.09 MB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009567/19.34, allocations: 5.127 MB / 6.302 GB, free: 75.01 MB / 0.9949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002919/19.34, allocations: 2.384 MB / 6.305 GB, free: 72.57 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01319/19.35, allocations: 5.281 MB / 6.31 GB, free: 72.35 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=704): time 2.101e-05/19.35, allocations: 0 / 6.31 GB, free: 72.35 MB / 0.9949 GB Notification: Performance of matching and sorting (n=704): time 0.0238/19.38, allocations: 8.898 MB / 6.319 GB, free: 71.56 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001697/19.38, allocations: 358.9 kB / 6.319 GB, free: 71.21 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02487/19.4, allocations: 10.98 MB / 6.33 GB, free: 67.8 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 0.00257/19.4, allocations: 165.9 kB / 6.33 GB, free: 67.67 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.009118/19.41, allocations: 6.265 MB / 6.336 GB, free: 62.87 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 0.005594/19.42, allocations: 2.453 MB / 6.338 GB, free: 60.98 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001226/19.42, allocations: 170.8 kB / 6.339 GB, free: 60.85 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 0.0007119/19.42, allocations: 0.6542 MB / 6.339 GB, free: 60.39 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007831/19.43, allocations: 4.143 MB / 6.343 GB, free: 58.85 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01025/19.44, allocations: 6.417 MB / 6.35 GB, free: 54.6 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009927/19.45, allocations: 5.378 MB / 6.355 GB, free: 52.71 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001188/19.45, allocations: 15.59 kB / 6.355 GB, free: 52.71 MB / 0.9949 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.03102/19.48, allocations: 12.05 MB / 6.367 GB, free: 48.61 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 0.01064/19.49, allocations: 37.01 MB / 6.403 GB, free: 25.8 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002767/19.49, allocations: 64.69 kB / 6.403 GB, free: 25.8 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/19.49, allocations: 198.6 kB / 6.403 GB, free: 25.79 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01356/19.51, allocations: 2.35 MB / 6.405 GB, free: 25.69 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002474/19.51, allocations: 1.673 MB / 6.407 GB, free: 24.26 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0183/19.53, allocations: 1.596 MB / 6.408 GB, free: 23.5 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002862/19.53, allocations: 421.2 kB / 6.409 GB, free: 23.43 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/19.53, allocations: 3.156 kB / 6.409 GB, free: 23.43 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02504/19.56, allocations: 11.11 MB / 6.42 GB, free: 19.38 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001576/19.56, allocations: 65.12 kB / 6.42 GB, free: 19.38 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006425/19.56, allocations: 197.3 kB / 6.42 GB, free: 19.36 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01241/19.57, allocations: 2.353 MB / 6.422 GB, free: 19.13 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/19.57, allocations: 1.671 MB / 6.424 GB, free: 17.67 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01727/19.59, allocations: 1.423 MB / 6.425 GB, free: 17.02 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00303/19.59, allocations: 424.1 kB / 6.426 GB, free: 16.95 MB / 1.011 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 () * 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.005052/19.6, allocations: 0.625 MB / 6.426 GB, free: 16.42 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006272/19.6, allocations: 1.108 MB / 6.427 GB, free: 15.43 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03212/19.63, allocations: 10.61 MB / 6.438 GB, free: 6.625 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-05/19.63, allocations: 75.38 kB / 6.438 GB, free: 6.555 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/19.63, allocations: 0 / 6.438 GB, free: 6.555 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01905/19.65, allocations: 8.294 MB / 6.446 GB, free: 15.26 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.816/20.47, allocations: 25.62 MB / 6.471 GB, free: 127.6 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.896e-05/20.47, allocations: 10.69 kB / 6.471 GB, free: 127.6 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01132/20.48, allocations: 1.706 MB / 6.473 GB, free: 127.6 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007392/20.48, allocations: 120.1 kB / 6.473 GB, free: 127.6 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001906/20.48, allocations: 239.7 kB / 6.473 GB, free: 127.6 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/20.49, allocations: 1.598 MB / 6.474 GB, free: 126.3 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.478e-05/20.49, allocations: 18.66 kB / 6.474 GB, free: 126.3 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03746/20.52, allocations: 18.16 MB / 6.492 GB, free: 122 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01275/20.54, allocations: 3.055 MB / 6.495 GB, free: 121.6 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006792/20.54, allocations: 168 kB / 6.495 GB, free: 121.6 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01599/20.56, allocations: 0.8263 MB / 6.496 GB, free: 121.5 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002194/20.56, allocations: 454.9 kB / 6.497 GB, free: 121.5 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001682/20.56, allocations: 380 kB / 6.497 GB, free: 121.5 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.01843/20.58, allocations: 8.589 MB / 6.505 GB, free: 121.2 MB / 1.026 GB Notification: Performance of sort global known variables: time 6.82e-07/20.58, allocations: 0 / 6.505 GB, free: 121.2 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.03275/20.61, allocations: 7.127 MB / 6.512 GB, free: 120.7 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) * 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.04762/20.66, allocations: 21.69 MB / 6.534 GB, free: 114.3 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.03671/20.7, allocations: 16.23 MB / 6.549 GB, free: 113.8 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 4.105e-05/20.7, allocations: 15.8 kB / 6.549 GB, free: 113.8 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.01124/20.71, allocations: 4.597 MB / 6.554 GB, free: 113.7 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03869/20.75, allocations: 6.864 MB / 6.561 GB, free: 113.5 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08019/20.83, allocations: 29.33 MB / 6.589 GB, free: 108.6 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01931/20.85, allocations: 8.653 MB / 6.598 GB, free: 107.7 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.04796/20.9, allocations: 10.93 MB / 6.608 GB, free: 106.1 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0169/20.91, allocations: 5.731 MB / 6.614 GB, free: 106.1 MB / 1.026 GB Notification: Performance of SimCode: time 1.102e-06/20.91, allocations: 0 / 6.614 GB, free: 106.1 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.345/22.26, allocations: 381.3 MB / 6.986 GB, free: 145 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002206/22.26, allocations: 244.8 kB / 6.987 GB, free: 144.7 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.42/40.67, allocations: 0 / 6.987 GB, free: 144.7 MB / 1.057 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)