Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.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.Tubular,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_Tubular",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Tubular,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_Tubular",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.752/1.752, allocations: 288.2 MB / 303.2 MB, free: 8.172 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.001338/0.001338, allocations: 181 kB / 371.8 MB, free: 10.28 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.081/2.081, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.001045/0.001045, allocations: 83.59 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004557/0.0004557, allocations: 18.92 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2981, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.501/6.799, allocations: 2.358 GB / 3.337 GB, free: 330.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003726/6.799, allocations: 97.34 kB / 3.337 GB, free: 330.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.082/9.882, allocations: 0.9276 GB / 4.265 GB, free: 130 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.555e-06/9.882, allocations: 0 / 4.265 GB, free: 130 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0007747/9.882, allocations: 119.5 kB / 4.265 GB, free: 129.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: 967 * Number of variables: 967 Notification: Performance of Generate backend data structure: time 0.01692/9.899, allocations: 5.087 MB / 4.27 GB, free: 124.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/9.899, allocations: 12.03 kB / 4.27 GB, free: 124.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002634/9.902, allocations: 0.526 MB / 4.27 GB, free: 124.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008649/9.911, allocations: 1.254 MB / 4.272 GB, free: 123 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0161/9.927, allocations: 5.418 MB / 4.277 GB, free: 117.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003353/9.927, allocations: 279.4 kB / 4.277 GB, free: 117.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001771/9.929, allocations: 375.8 kB / 4.278 GB, free: 116.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01525/9.944, allocations: 5.349 MB / 4.283 GB, free: 111.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002085/9.945, allocations: 15.8 kB / 4.283 GB, free: 111.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001336/9.946, allocations: 167.9 kB / 4.283 GB, free: 111.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001746/9.946, allocations: 175.1 kB / 4.283 GB, free: 111.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01325/9.959, allocations: 5.219 MB / 4.288 GB, free: 105.9 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.03883/9.998, allocations: 19.57 MB / 4.307 GB, free: 85.65 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008189/10.01, allocations: 3.651 MB / 4.311 GB, free: 82 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00197/10.01, allocations: 1.872 MB / 4.313 GB, free: 79.73 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005014/10.01, allocations: 2.054 MB / 4.315 GB, free: 77.63 MB / 0.948 GB Notification: Performance of pre-optimization done (n=267): time 7.213e-06/10.01, allocations: 0 / 4.315 GB, free: 77.63 MB / 0.948 GB Notification: Performance of matching and sorting (n=267): time 0.01484/10.03, allocations: 5.086 MB / 4.32 GB, free: 72.46 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/10.03, allocations: 295.1 kB / 4.32 GB, free: 72.11 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008338/10.04, allocations: 3.472 MB / 4.323 GB, free: 68.66 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001065/10.04, allocations: 85.69 kB / 4.323 GB, free: 68.57 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002629/10.04, allocations: 1.964 MB / 4.325 GB, free: 66.58 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001795/10.04, allocations: 0.905 MB / 4.326 GB, free: 65.66 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007294/10.04, allocations: 60 kB / 4.326 GB, free: 65.61 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003161/10.04, allocations: 420 kB / 4.327 GB, free: 65.19 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003957/10.05, allocations: 1.544 MB / 4.328 GB, free: 63.64 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004289/10.05, allocations: 2.241 MB / 4.33 GB, free: 61.12 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004226/10.06, allocations: 1.89 MB / 4.332 GB, free: 59.21 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.719e-05/10.06, allocations: 8 kB / 4.332 GB, free: 59.21 MB / 0.948 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.01174/10.07, allocations: 4.359 MB / 4.337 GB, free: 54.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001624/10.07, allocations: 7.42 MB / 4.344 GB, free: 46.74 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.26e-05/10.07, allocations: 16 kB / 4.344 GB, free: 46.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007134/10.07, allocations: 112.8 kB / 4.344 GB, free: 46.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00462/10.08, allocations: 0.8073 MB / 4.345 GB, free: 45.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/10.08, allocations: 2.189 MB / 4.347 GB, free: 43.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005699/10.08, allocations: 0.5119 MB / 4.347 GB, free: 42.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000891/10.08, allocations: 143.9 kB / 4.347 GB, free: 42.79 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/10.08, allocations: 4 kB / 4.347 GB, free: 42.79 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.011/10.1, allocations: 4.022 MB / 4.351 GB, free: 38.72 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.717e-05/10.1, allocations: 20 kB / 4.351 GB, free: 38.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006008/10.1, allocations: 113.5 kB / 4.352 GB, free: 38.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004279/10.1, allocations: 0.7995 MB / 4.352 GB, free: 37.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/10.1, allocations: 1.595 MB / 4.354 GB, free: 36.06 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005383/10.11, allocations: 488.8 kB / 4.354 GB, free: 35.58 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007988/10.11, allocations: 147.9 kB / 4.354 GB, free: 35.43 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 (370): * Single equations (assignments): 368 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.00418/10.11, allocations: 1.508 MB / 4.356 GB, free: 33.91 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001771/10.11, allocations: 383.4 kB / 4.356 GB, free: 33.54 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01143/10.13, allocations: 4.365 MB / 4.361 GB, free: 29.11 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-05/10.13, allocations: 31.95 kB / 4.361 GB, free: 29.08 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/10.13, allocations: 0 / 4.361 GB, free: 29.08 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00767/10.13, allocations: 3.488 MB / 4.364 GB, free: 25.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02107/10.15, allocations: 8.997 MB / 4.373 GB, free: 16.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/10.15, allocations: 4 kB / 4.373 GB, free: 16.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003366/10.16, allocations: 0.6358 MB / 4.373 GB, free: 15.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006044/10.16, allocations: 92.73 kB / 4.374 GB, free: 15.63 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003271/10.16, allocations: 91.91 kB / 4.374 GB, free: 15.54 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/10.16, allocations: 2.165 MB / 4.376 GB, free: 13.21 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/10.16, allocations: 7.984 kB / 4.376 GB, free: 13.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01297/10.17, allocations: 6.072 MB / 4.382 GB, free: 7.02 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003813/10.18, allocations: 1.085 MB / 4.383 GB, free: 5.91 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001593/10.18, allocations: 59.98 kB / 4.383 GB, free: 5.852 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004686/10.18, allocations: 335.3 kB / 4.383 GB, free: 5.523 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003954/10.18, allocations: 174 kB / 4.383 GB, free: 5.352 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004911/10.18, allocations: 135.9 kB / 4.383 GB, free: 5.219 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005939/10.19, allocations: 2.736 MB / 4.386 GB, free: 2.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.91e-07/10.19, allocations: 0 / 4.386 GB, free: 2.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01102/10.2, allocations: 2.435 MB / 4.388 GB, free: 60 kB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (286): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.6193/10.82, allocations: 8.323 MB / 4.397 GB, free: 177 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01671/10.84, allocations: 6.106 MB / 4.403 GB, free: 176.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-05/10.84, allocations: 3.734 kB / 4.403 GB, free: 176.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.005153/10.84, allocations: 1.951 MB / 4.404 GB, free: 176.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01185/10.86, allocations: 2.043 MB / 4.406 GB, free: 176.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03819/10.89, allocations: 26.1 MB / 4.432 GB, free: 158.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004322/10.9, allocations: 3.114 MB / 4.435 GB, free: 157.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01111/10.91, allocations: 2.061 MB / 4.437 GB, free: 157.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005714/10.91, allocations: 1.896 MB / 4.439 GB, free: 157.6 MB / 0.948 GB Notification: Performance of SimCode: time 2.204e-06/10.91, allocations: 1.188 kB / 4.439 GB, free: 157.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2573/11.17, allocations: 130 MB / 4.566 GB, free: 140.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002892/11.17, allocations: 257.9 kB / 4.566 GB, free: 139.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.327/17.5, allocations: 0 / 4.566 GB, free: 139.8 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_Tubular_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_SolarCollectors_Examples_Tubular.fmu > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1)