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.729/1.729, allocations: 288.3 MB / 303.2 MB, free: 8.25 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.001075/0.001075, 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 1.625/1.625, allocations: 205.4 MB / 0.6306 GB, free: 9.977 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.0008486/0.0008484, allocations: 98.92 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003861, allocations: 10.62 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2586, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Tubular): time 0.02785/0.2865, allocations: 30.9 MB / 1.01 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.7799/1.066, allocations: 135.6 MB / 1.142 GB, free: 14.85 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003391/1.07, allocations: 48.53 kB / 1.142 GB, free: 14.83 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002976/1.073, allocations: 0.5179 MB / 1.143 GB, free: 14.6 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008274/1.081, allocations: 1.681 MB / 1.144 GB, free: 14.05 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007636/1.089, allocations: 1.794 MB / 1.146 GB, free: 13.22 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.01462/1.104, allocations: 6.847 MB / 1.153 GB, free: 9.395 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01133/1.115, allocations: 4.557 MB / 1.157 GB, free: 6.938 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009107/1.124, allocations: 2.779 MB / 1.16 GB, free: 5.363 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007674/1.132, allocations: 2.3 MB / 1.162 GB, free: 3.969 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.00245/1.134, allocations: 176.4 kB / 1.162 GB, free: 3.969 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007322/1.142, allocations: 0.9877 MB / 1.163 GB, free: 3.594 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002857/1.145, allocations: 0.9163 MB / 1.164 GB, free: 2.945 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.003802/1.148, allocations: 1.039 MB / 1.165 GB, free: 2.336 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01177/1.16, allocations: 6.857 MB / 1.172 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.16, allocations: 2.531 kB / 1.172 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.126e-06/1.16, allocations: 0 / 1.172 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0004854/1.161, allocations: 0 / 1.172 GB, free: 13.55 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1037 * Number of variables: 1037 Notification: Performance of Generate backend data structure: time 0.0165/1.177, allocations: 4.942 MB / 1.177 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/1.177, allocations: 8.406 kB / 1.177 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00996/1.187, allocations: 1.424 MB / 1.178 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01469/1.202, allocations: 4.639 MB / 1.183 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004366/1.203, allocations: 298.9 kB / 1.183 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001983/1.205, allocations: 394.8 kB / 1.183 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01894/1.223, allocations: 5.782 MB / 1.189 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002481/1.224, allocations: 13.91 kB / 1.189 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001633/1.225, allocations: 172 kB / 1.189 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002279/1.226, allocations: 183.7 kB / 1.189 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0159/1.242, allocations: 5.572 MB / 1.195 GB, free: 11.78 MB / 0.7292 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.04549/1.287, allocations: 20.51 MB / 1.215 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008921/1.296, allocations: 3.668 MB / 1.218 GB, free: 2.875 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002554/1.299, allocations: 1.907 MB / 1.22 GB, free: 0.5781 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0058/1.305, allocations: 2.071 MB / 1.222 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=267): time 1.473e-05/1.305, allocations: 0 / 1.222 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of matching and sorting (n=267): time 0.01617/1.321, allocations: 5.124 MB / 1.227 GB, free: 9.254 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002144/1.321, allocations: 235.7 kB / 1.227 GB, free: 8.973 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0114/1.333, allocations: 3.742 MB / 1.231 GB, free: 5.246 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.001423/1.334, allocations: 77.7 kB / 1.231 GB, free: 5.164 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.003413/1.337, allocations: 2.022 MB / 1.233 GB, free: 3.121 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001983/1.339, allocations: 0.9166 MB / 1.234 GB, free: 2.191 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006141/1.34, allocations: 60 kB / 1.234 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003705/1.341, allocations: 424 kB / 1.234 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004272/1.345, allocations: 1.544 MB / 1.236 GB, free: 168 kB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004804/1.35, allocations: 2.223 MB / 1.238 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004655/1.354, allocations: 1.887 MB / 1.24 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.32e-05/1.354, allocations: 4 kB / 1.24 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.01247/1.367, allocations: 4.375 MB / 1.244 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.002865/1.37, allocations: 7.507 MB / 1.252 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.33e-05/1.37, allocations: 20 kB / 1.252 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007001/1.371, allocations: 120.7 kB / 1.252 GB, free: 15.06 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004432/1.375, allocations: 0.8074 MB / 1.252 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002747/1.378, allocations: 2.172 MB / 1.255 GB, free: 11.92 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005534/1.383, allocations: 0.5215 MB / 1.255 GB, free: 11.39 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008105/1.384, allocations: 147.9 kB / 1.255 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/1.384, allocations: 0 / 1.255 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0109/1.395, allocations: 4.03 MB / 1.259 GB, free: 7.18 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.676e-05/1.395, allocations: 19.94 kB / 1.259 GB, free: 7.16 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005958/1.396, allocations: 117.2 kB / 1.259 GB, free: 7.043 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004069/1.4, allocations: 0.7956 MB / 1.26 GB, free: 6.246 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/1.402, allocations: 1.579 MB / 1.262 GB, free: 4.531 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005291/1.407, allocations: 492.8 kB / 1.262 GB, free: 4.047 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007629/1.408, allocations: 147.9 kB / 1.262 GB, free: 3.902 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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): 369 * 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.00421/1.412, allocations: 1.535 MB / 1.264 GB, free: 2.355 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001715/1.414, allocations: 387.3 kB / 1.264 GB, free: 1.973 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/1.426, allocations: 4.385 MB / 1.268 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.448e-05/1.426, allocations: 28 kB / 1.268 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/1.426, allocations: 0 / 1.268 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008265/1.435, allocations: 3.512 MB / 1.272 GB, free: 9.902 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02455/1.459, allocations: 8.961 MB / 1.281 GB, free: 0.832 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-05/1.459, allocations: 11.94 kB / 1.281 GB, free: 0.8203 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003607/1.463, allocations: 0.632 MB / 1.281 GB, free: 192 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006216/1.464, allocations: 92.78 kB / 1.281 GB, free: 96 kB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004821/1.464, allocations: 83.92 kB / 1.281 GB, free: 12 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002449/1.467, allocations: 2.169 MB / 1.284 GB, free: 13.68 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.467, allocations: 0 / 1.284 GB, free: 13.68 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01617/1.483, allocations: 6.254 MB / 1.29 GB, free: 7.32 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004175/1.487, allocations: 1.073 MB / 1.291 GB, free: 6.223 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002084/1.489, allocations: 56 kB / 1.291 GB, free: 6.168 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004886/1.494, allocations: 319.4 kB / 1.291 GB, free: 5.855 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006431/1.495, allocations: 177.9 kB / 1.291 GB, free: 5.68 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007245/1.496, allocations: 135.9 kB / 1.291 GB, free: 5.547 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.006395/1.502, allocations: 2.644 MB / 1.294 GB, free: 2.922 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.262e-06/1.502, allocations: 0 / 1.294 GB, free: 2.922 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01163/1.514, allocations: 2.31 MB / 1.296 GB, free: 0.6055 MB / 0.823 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.00308/1.517, allocations: 0.8787 MB / 1.297 GB, free: 15.86 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.01676/1.534, allocations: 6.144 MB / 1.303 GB, free: 9.664 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.397e-05/1.534, allocations: 4.938 kB / 1.303 GB, free: 9.66 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.005583/1.539, allocations: 2.003 MB / 1.305 GB, free: 7.641 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0118/1.551, allocations: 2.017 MB / 1.307 GB, free: 5.645 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02714/1.578, allocations: 11.48 MB / 1.318 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005281/1.584, allocations: 3.168 MB / 1.321 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0117/1.595, allocations: 2.14 MB / 1.323 GB, free: 4.758 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00232/1.598, allocations: 399.2 kB / 1.324 GB, free: 4.367 MB / 0.8542 GB Notification: Performance of SimCode: time 1.643e-06/1.598, allocations: 0 / 1.324 GB, free: 4.367 MB / 0.8542 GB Notification: Performance of Templates: time 0.1749/1.773, allocations: 79.89 MB / 1.402 GB, free: 4.863 MB / 0.9323 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)