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: translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular") translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.584/1.584, allocations: 285.4 MB / 298 MB, free: 5.984 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.001042/0.001042, allocations: 176.9 kB / 366.4 MB, free: 2.09 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.675/1.675, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.0008342/0.0008341, allocations: 93.48 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.374e-05/3.377e-05, allocations: 4 kB / 0.8583 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8208/0.8208, allocations: 115.3 MB / 0.9709 GB, free: 77.65 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.102/6.923, allocations: 2.358 GB / 3.329 GB, free: 144.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/6.924, allocations: 95.94 kB / 3.329 GB, free: 144.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.237/11.16, allocations: 0.926 GB / 4.255 GB, free: 167.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.164e-06/11.16, allocations: 0 / 4.255 GB, free: 167.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.001437/11.16, allocations: 129.2 kB / 4.255 GB, free: 167.1 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.02043/11.18, allocations: 4.257 MB / 4.259 GB, free: 165.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.416e-05/11.18, allocations: 9.281 kB / 4.259 GB, free: 165.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/11.19, allocations: 1.25 MB / 4.26 GB, free: 165.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01903/11.21, allocations: 5.398 MB / 4.265 GB, free: 164.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006078/11.21, allocations: 277.2 kB / 4.266 GB, free: 164.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002329/11.21, allocations: 376.8 kB / 4.266 GB, free: 164.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01968/11.23, allocations: 5.034 MB / 4.271 GB, free: 164.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003962/11.23, allocations: 8.844 kB / 4.271 GB, free: 164.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002003/11.24, allocations: 155.3 kB / 4.271 GB, free: 164.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003153/11.24, allocations: 181.8 kB / 4.271 GB, free: 164.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01406/11.25, allocations: 4.628 MB / 4.276 GB, free: 164.2 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.05138/11.3, allocations: 19.59 MB / 4.295 GB, free: 157.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007828/11.31, allocations: 3.276 MB / 4.298 GB, free: 157.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003694/11.31, allocations: 1.681 MB / 4.3 GB, free: 157.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002395/11.32, allocations: 1.868 MB / 4.302 GB, free: 155.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004899/11.32, allocations: 1.854 MB / 4.303 GB, free: 155.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=267): time 1.134e-05/11.32, allocations: 0 / 4.303 GB, free: 155.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=267): time 0.008747/11.33, allocations: 3.147 MB / 4.306 GB, free: 155 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/11.33, allocations: 289.3 kB / 4.307 GB, free: 154.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009127/11.34, allocations: 3.426 MB / 4.31 GB, free: 154.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001006/11.34, allocations: 86.61 kB / 4.31 GB, free: 154.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003021/11.34, allocations: 1.96 MB / 4.312 GB, free: 153.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001787/11.35, allocations: 0.9139 MB / 4.313 GB, free: 153.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007505/11.35, allocations: 59.03 kB / 4.313 GB, free: 153.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0003337/11.35, allocations: 428.7 kB / 4.313 GB, free: 152.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002802/11.35, allocations: 1.344 MB / 4.315 GB, free: 152.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003367/11.35, allocations: 2.034 MB / 4.317 GB, free: 152.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003379/11.36, allocations: 1.687 MB / 4.318 GB, free: 152.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.638e-05/11.36, allocations: 3.781 kB / 4.318 GB, free: 152.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.009792/11.37, allocations: 3.955 MB / 4.322 GB, free: 151.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002057/11.37, allocations: 7.413 MB / 4.329 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.278e-05/11.37, allocations: 21.5 kB / 4.329 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007052/11.37, allocations: 117.8 kB / 4.33 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004314/11.37, allocations: 0.8084 MB / 4.33 GB, free: 143.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/11.38, allocations: 2.158 MB / 4.332 GB, free: 142.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006161/11.38, allocations: 0.5157 MB / 4.333 GB, free: 141.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007903/11.38, allocations: 145.7 kB / 4.333 GB, free: 141.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/11.38, allocations: 4.875 kB / 4.333 GB, free: 141.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008675/11.39, allocations: 3.619 MB / 4.337 GB, free: 141.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.554e-05/11.39, allocations: 20.48 kB / 4.337 GB, free: 141.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005764/11.39, allocations: 112 kB / 4.337 GB, free: 141.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003884/11.4, allocations: 0.8027 MB / 4.338 GB, free: 141.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001823/11.4, allocations: 1.568 MB / 4.339 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005526/11.4, allocations: 487 kB / 4.34 GB, free: 140.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006507/11.4, allocations: 154.5 kB / 4.34 GB, free: 140.3 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.00141/11.41, allocations: 285 kB / 4.34 GB, free: 140.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001966/11.41, allocations: 389.4 kB / 4.34 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01053/11.42, allocations: 3.953 MB / 4.344 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-05/11.42, allocations: 28.53 kB / 4.344 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/11.42, allocations: 0 / 4.344 GB, free: 139.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006186/11.42, allocations: 3.091 MB / 4.347 GB, free: 139.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02278/11.45, allocations: 8.599 MB / 4.356 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/11.45, allocations: 2.188 kB / 4.356 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003369/11.45, allocations: 0.6459 MB / 4.356 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005357/11.45, allocations: 87.67 kB / 4.356 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003956/11.45, allocations: 90.77 kB / 4.356 GB, free: 138.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001885/11.45, allocations: 2.155 MB / 4.359 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/11.45, allocations: 0 / 4.359 GB, free: 136.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01065/11.46, allocations: 5.476 MB / 4.364 GB, free: 133.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004019/11.47, allocations: 1.085 MB / 4.365 GB, free: 133.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001922/11.47, allocations: 58.16 kB / 4.365 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005188/11.48, allocations: 336.8 kB / 4.365 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004177/11.48, allocations: 172.4 kB / 4.366 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000507/11.48, allocations: 135.1 kB / 4.366 GB, free: 133 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006561/11.48, allocations: 2.695 MB / 4.368 GB, free: 132 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.81e-07/11.48, allocations: 2.281 kB / 4.368 GB, free: 132 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01282/11.5, allocations: 2.445 MB / 4.371 GB, free: 131.5 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.004337/11.5, allocations: 1.601 MB / 4.372 GB, free: 131.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01162/11.51, allocations: 5.611 MB / 4.378 GB, free: 129 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.771e-05/11.51, allocations: 3.859 kB / 4.378 GB, free: 129 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003682/11.52, allocations: 1.756 MB / 4.379 GB, free: 128.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01224/11.53, allocations: 2.031 MB / 4.381 GB, free: 128 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02096/11.55, allocations: 7.83 MB / 4.389 GB, free: 125.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004205/11.55, allocations: 3.131 MB / 4.392 GB, free: 124.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01374/11.57, allocations: 3.027 MB / 4.395 GB, free: 124 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001918/11.57, allocations: 323.2 kB / 4.395 GB, free: 124 MB / 0.948 GB Notification: Performance of SimCode: time 1.513e-06/11.57, allocations: 0 / 4.395 GB, free: 124 MB / 0.948 GB Notification: Performance of Templates: time 0.1635/11.73, allocations: 98.86 MB / 4.492 GB, free: 67.07 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1)