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.734/1.734, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.001278/0.001278, allocations: 176.9 kB / 361.4 MB, free: 6.863 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.779/1.779, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.0008274/0.0008273, allocations: 83.59 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.671e-05/2.676e-05, allocations: 4 kB / 0.8518 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8572/0.8573, allocations: 115.3 MB / 0.9644 GB, free: 78.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.066/6.923, allocations: 2.357 GB / 3.321 GB, free: 170.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/6.924, allocations: 91.95 kB / 3.322 GB, free: 170.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.998/10.92, allocations: 0.92 GB / 4.242 GB, free: 158.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.974e-06/10.92, allocations: 2.875 kB / 4.242 GB, free: 158.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0007884/10.92, allocations: 129.2 kB / 4.242 GB, free: 158.3 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.01702/10.94, allocations: 4.253 MB / 4.246 GB, free: 157 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.102e-05/10.94, allocations: 9.594 kB / 4.246 GB, free: 157 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/10.95, allocations: 1.256 MB / 4.247 GB, free: 156.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01661/10.97, allocations: 5.393 MB / 4.252 GB, free: 156.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002529/10.97, allocations: 116.6 kB / 4.252 GB, free: 156.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001589/10.97, allocations: 226.9 kB / 4.253 GB, free: 156.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01002/10.98, allocations: 4.348 MB / 4.257 GB, free: 156.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01038/10.99, allocations: 4.517 MB / 4.261 GB, free: 155.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001029/10.99, allocations: 13.03 kB / 4.261 GB, free: 155.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004906/10.99, allocations: 7.562 kB / 4.261 GB, free: 155.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001499/10.99, allocations: 177 kB / 4.261 GB, free: 155.6 MB / 0.948 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.03294/11.02, allocations: 18.87 MB / 4.28 GB, free: 149.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004871/11.03, allocations: 3.117 MB / 4.283 GB, free: 149 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002973/11.03, allocations: 1.602 MB / 4.284 GB, free: 149 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002297/11.03, allocations: 1.869 MB / 4.286 GB, free: 147 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00359/11.04, allocations: 1.777 MB / 4.288 GB, free: 146.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=267): time 4.799e-06/11.04, allocations: 0 / 4.288 GB, free: 146.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=267): time 0.06359/11.1, allocations: 7.333 MB / 4.295 GB, free: 146.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/11.1, allocations: 290.3 kB / 4.295 GB, free: 146.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005685/11.11, allocations: 2.966 MB / 4.298 GB, free: 146 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009291/11.11, allocations: 31.83 kB / 4.298 GB, free: 146 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002066/11.11, allocations: 1.957 MB / 4.3 GB, free: 145.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001378/11.11, allocations: 0.8766 MB / 4.301 GB, free: 144.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/11.11, allocations: 0 / 4.301 GB, free: 144.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002209/11.11, allocations: 425.8 kB / 4.302 GB, free: 144.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002169/11.11, allocations: 1.286 MB / 4.303 GB, free: 144.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002835/11.12, allocations: 1.961 MB / 4.305 GB, free: 143.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.158/11.27, allocations: 13.16 MB / 4.318 GB, free: 143.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.764e-05/11.27, allocations: 8.766 kB / 4.318 GB, free: 143.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.1529/11.43, allocations: 15.22 MB / 4.332 GB, free: 142.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001433/11.43, allocations: 7.288 MB / 4.34 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.358e-05/11.43, allocations: 17.19 kB / 4.34 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006175/11.43, allocations: 116.8 kB / 4.34 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004373/11.43, allocations: 0.8091 MB / 4.341 GB, free: 135.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/11.44, allocations: 2.101 MB / 4.343 GB, free: 133.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005599/11.44, allocations: 432.2 kB / 4.343 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009209/11.44, allocations: 151.2 kB / 4.343 GB, free: 133.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/11.44, allocations: 6.031 kB / 4.343 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1496/11.59, allocations: 14.84 MB / 4.358 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-05/11.59, allocations: 18.62 kB / 4.358 GB, free: 132.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005419/11.59, allocations: 118.5 kB / 4.358 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004094/11.6, allocations: 0.8027 MB / 4.359 GB, free: 132.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/11.6, allocations: 1.505 MB / 4.36 GB, free: 130.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005883/11.6, allocations: 395.3 kB / 4.36 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007374/11.6, allocations: 143.6 kB / 4.361 GB, free: 130.8 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 () * 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.001217/11.61, allocations: 184.6 kB / 4.361 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05743/11.66, allocations: 7.345 MB / 4.368 GB, free: 130 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001662/11.66, allocations: 357.9 kB / 4.368 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06061/11.73, allocations: 8.045 MB / 4.376 GB, free: 129.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.648e-05/11.73, allocations: 31.55 kB / 4.376 GB, free: 129.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/11.73, allocations: 0 / 4.376 GB, free: 129.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05722/11.78, allocations: 7.271 MB / 4.383 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06917/11.85, allocations: 12.28 MB / 4.395 GB, free: 127.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.768e-05/11.85, allocations: 4.906 kB / 4.395 GB, free: 127.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003439/11.86, allocations: 0.6362 MB / 4.396 GB, free: 127.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005297/11.86, allocations: 84.75 kB / 4.396 GB, free: 127.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002775/11.86, allocations: 62.16 kB / 4.396 GB, free: 127.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/11.86, allocations: 2.094 MB / 4.398 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/11.86, allocations: 4.156 kB / 4.398 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06088/11.92, allocations: 9.577 MB / 4.407 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003347/11.92, allocations: 1.052 MB / 4.408 GB, free: 124.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001401/11.92, allocations: 16.52 kB / 4.408 GB, free: 124.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00442/11.93, allocations: 290.8 kB / 4.409 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004185/11.93, allocations: 175.7 kB / 4.409 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004662/11.93, allocations: 129.9 kB / 4.409 GB, free: 124.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.005296/11.93, allocations: 2.288 MB / 4.411 GB, free: 124.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.91e-07/11.93, allocations: 3.172 kB / 4.411 GB, free: 124.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01043/11.95, allocations: 2.319 MB / 4.413 GB, free: 124.1 MB / 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) * 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.06372/12.01, allocations: 11.83 MB / 4.425 GB, free: 122.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.009773/12.02, allocations: 5.346 MB / 4.43 GB, free: 121.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.441e-05/12.02, allocations: 4.609 kB / 4.43 GB, free: 121.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002864/12.02, allocations: 1.682 MB / 4.432 GB, free: 121.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0108/12.03, allocations: 1.751 MB / 4.434 GB, free: 121.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02694/12.06, allocations: 8.764 MB / 4.442 GB, free: 119.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005137/12.06, allocations: 3.121 MB / 4.445 GB, free: 118.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01405/12.08, allocations: 2.753 MB / 4.448 GB, free: 118.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004619/12.08, allocations: 1.808 MB / 4.45 GB, free: 117.3 MB / 0.948 GB Notification: Performance of SimCode: time 8.82e-07/12.08, allocations: 0 / 4.45 GB, free: 117.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1873/12.27, allocations: 115.9 MB / 4.563 GB, free: 21.46 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/12.27, allocations: 180.7 kB / 4.563 GB, free: 21.27 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.861/18.13, allocations: 0 / 4.563 GB, free: 21.27 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)