Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue",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.715/1.715, allocations: 288.2 MB / 303.2 MB, free: 8.164 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.001274/0.001274, allocations: 197.4 kB / 371.8 MB, free: 10.11 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.996/1.996, allocations: 205.4 MB / 0.6305 GB, free: 9.961 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.0009251/0.000925, allocations: 82.88 kB / 0.7439 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004713/0.0004714, allocations: 11.62 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.259, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.709/6.968, allocations: 2.358 GB / 3.337 GB, free: 330.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004225/6.969, allocations: 96.52 kB / 3.337 GB, free: 330.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.366/10.33, allocations: 0.9288 GB / 4.266 GB, free: 129 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.319e-06/10.33, allocations: 3.984 kB / 4.266 GB, free: 129 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001028/10.34, allocations: 131.7 kB / 4.266 GB, free: 128.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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.02056/10.36, allocations: 5.09 MB / 4.271 GB, free: 123.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/10.36, allocations: 12.03 kB / 4.271 GB, free: 123.7 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003206/10.36, allocations: 0.5222 MB / 4.272 GB, free: 123.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009324/10.37, allocations: 1.262 MB / 4.273 GB, free: 121.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01846/10.39, allocations: 5.408 MB / 4.278 GB, free: 116.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000437/10.39, allocations: 286.3 kB / 4.278 GB, free: 116.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002408/10.39, allocations: 367.9 kB / 4.279 GB, free: 115.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02017/10.41, allocations: 5.363 MB / 4.284 GB, free: 110.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003152/10.41, allocations: 7.938 kB / 4.284 GB, free: 110.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002227/10.41, allocations: 163.9 kB / 4.284 GB, free: 110.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002378/10.41, allocations: 171.2 kB / 4.284 GB, free: 110 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01566/10.43, allocations: 5.243 MB / 4.289 GB, free: 104.8 MB / 0.948 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.0448/10.47, allocations: 19.34 MB / 4.308 GB, free: 84.87 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008372/10.48, allocations: 3.607 MB / 4.312 GB, free: 81.26 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00215/10.48, allocations: 1.857 MB / 4.314 GB, free: 79.02 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005311/10.49, allocations: 2.065 MB / 4.316 GB, free: 76.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=264): time 1.125e-05/10.49, allocations: 0 / 4.316 GB, free: 76.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=264): time 0.01525/10.51, allocations: 5.081 MB / 4.321 GB, free: 71.74 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/10.51, allocations: 291.1 kB / 4.321 GB, free: 71.39 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009687/10.52, allocations: 3.48 MB / 4.324 GB, free: 67.93 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001399/10.52, allocations: 77.7 kB / 4.324 GB, free: 67.84 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003299/10.52, allocations: 1.971 MB / 4.326 GB, free: 65.85 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002376/10.52, allocations: 0.9011 MB / 4.327 GB, free: 64.94 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009137/10.52, allocations: 63.94 kB / 4.327 GB, free: 64.88 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0004452/10.52, allocations: 424 kB / 4.328 GB, free: 64.45 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004472/10.53, allocations: 1.563 MB / 4.329 GB, free: 62.89 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004516/10.53, allocations: 2.257 MB / 4.331 GB, free: 60.35 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004463/10.54, allocations: 1.894 MB / 4.333 GB, free: 58.44 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.351e-05/10.54, allocations: 8 kB / 4.333 GB, free: 58.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.01247/10.55, allocations: 4.391 MB / 4.338 GB, free: 53.99 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002476/10.55, allocations: 7.413 MB / 4.345 GB, free: 45.94 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.755e-05/10.55, allocations: 20 kB / 4.345 GB, free: 45.92 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007546/10.55, allocations: 108.8 kB / 4.345 GB, free: 45.81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004625/10.56, allocations: 0.8035 MB / 4.346 GB, free: 45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002189/10.56, allocations: 1.59 MB / 4.347 GB, free: 43.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006617/10.57, allocations: 0.5275 MB / 4.348 GB, free: 42.74 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009964/10.57, allocations: 151.9 kB / 4.348 GB, free: 42.59 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/10.57, allocations: 4 kB / 4.348 GB, free: 42.59 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01153/10.58, allocations: 4.05 MB / 4.352 GB, free: 38.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-05/10.58, allocations: 20 kB / 4.352 GB, free: 38.48 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006459/10.58, allocations: 113 kB / 4.352 GB, free: 38.37 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004535/10.58, allocations: 0.8034 MB / 4.353 GB, free: 37.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/10.59, allocations: 1.579 MB / 4.354 GB, free: 35.85 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005937/10.59, allocations: 492.8 kB / 4.355 GB, free: 35.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009011/10.59, allocations: 143.9 kB / 4.355 GB, free: 35.22 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (371): * Single equations (assignments): 370 * 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.004848/10.6, allocations: 1.504 MB / 4.356 GB, free: 33.71 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002189/10.6, allocations: 391.3 kB / 4.357 GB, free: 33.32 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/10.61, allocations: 4.364 MB / 4.361 GB, free: 28.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.17e-05/10.61, allocations: 31.98 kB / 4.361 GB, free: 28.87 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-05/10.61, allocations: 0 / 4.361 GB, free: 28.87 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007933/10.62, allocations: 3.48 MB / 4.364 GB, free: 25.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0262/10.65, allocations: 9.277 MB / 4.374 GB, free: 15.81 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.704e-05/10.65, allocations: 11.89 kB / 4.374 GB, free: 15.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004215/10.65, allocations: 0.6358 MB / 4.374 GB, free: 15.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007682/10.65, allocations: 92.78 kB / 4.374 GB, free: 15.07 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007541/10.65, allocations: 91.92 kB / 4.374 GB, free: 14.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002596/10.66, allocations: 1.579 MB / 4.376 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/10.66, allocations: 4 kB / 4.376 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01885/10.68, allocations: 6.477 MB / 4.382 GB, free: 6.555 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004057/10.68, allocations: 1.081 MB / 4.383 GB, free: 5.449 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001812/10.68, allocations: 67.98 kB / 4.383 GB, free: 5.383 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00506/10.69, allocations: 311.4 kB / 4.384 GB, free: 5.078 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005257/10.69, allocations: 185.9 kB / 4.384 GB, free: 4.895 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000567/10.69, allocations: 135.8 kB / 4.384 GB, free: 4.762 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006287/10.69, allocations: 2.744 MB / 4.387 GB, free: 2.035 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.51e-07/10.69, allocations: 0 / 4.387 GB, free: 2.035 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.7707/11.46, allocations: 2.435 MB / 4.389 GB, free: 178.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 11 (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) * 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 (283): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.02373/11.49, allocations: 9.453 MB / 4.398 GB, free: 176.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01882/11.51, allocations: 6.11 MB / 4.404 GB, free: 175.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.461e-05/11.51, allocations: 4.094 kB / 4.404 GB, free: 175.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.006419/11.51, allocations: 1.958 MB / 4.406 GB, free: 175.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01318/11.53, allocations: 2.022 MB / 4.408 GB, free: 175.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03989/11.57, allocations: 26.14 MB / 4.434 GB, free: 157.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002952/11.57, allocations: 3.124 MB / 4.437 GB, free: 156.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.009547/11.58, allocations: 2.064 MB / 4.439 GB, free: 156.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004012/11.58, allocations: 1.879 MB / 4.441 GB, free: 156.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.954e-06/11.58, allocations: 0 / 4.441 GB, free: 156.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2222/11.81, allocations: 129.7 MB / 4.567 GB, free: 139.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/11.81, allocations: 270.8 kB / 4.567 GB, free: 139.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.392/18.2, allocations: 4.25 kB / 4.567 GB, free: 139.3 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1)