Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular") translateModel(Buildings.Fluid.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001257, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001474, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.4 MB / 222.1 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.572/1.572, allocations: 251.9 MB / 0.51 GB, free: 4.844 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005086/0.0005086, allocations: 19.73 kB / 0.6241 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6227/0.6232, allocations: 106.3 MB / 0.728 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Tubular): time 0.0364/0.6597, allocations: 30.9 MB / 0.7581 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1815/0.8412, allocations: 135.6 MB / 0.8906 GB, free: 4.551 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003102/0.8444, allocations: 51.62 kB / 0.8906 GB, free: 4.5 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002311/0.8467, allocations: 0.5165 MB / 0.8911 GB, free: 3.98 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.006662/0.8534, allocations: 1.685 MB / 0.8928 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00634/0.8597, allocations: 1.74 MB / 0.8944 GB, free: 0.5742 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01145/0.8712, allocations: 6.809 MB / 0.9011 GB, free: 9.758 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007676/0.8789, allocations: 4.536 MB / 0.9055 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006991/0.886, allocations: 2.763 MB / 0.9082 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005554/0.8915, allocations: 2.294 MB / 0.9105 GB, free: 104 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.6125/1.504, allocations: 175.1 kB / 0.9106 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008855/1.513, allocations: 0.9835 MB / 0.9116 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.003821/1.517, allocations: 0.9041 MB / 0.9125 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.005369/1.522, allocations: 1.034 MB / 0.9135 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01526/1.538, allocations: 6.796 MB / 0.9201 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.538, allocations: 0 / 0.9201 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.006e-06/1.538, allocations: 0 / 0.9201 GB, free: 10.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0004918/1.538, allocations: 0 / 0.9201 GB, free: 10.23 MB / 0.7169 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.02114/1.559, allocations: 4.934 MB / 0.9249 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/1.559, allocations: 8.25 kB / 0.9249 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01089/1.57, allocations: 1.428 MB / 0.9263 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01462/1.585, allocations: 4.609 MB / 0.9308 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004047/1.585, allocations: 305.5 kB / 0.9311 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002405/1.588, allocations: 396.8 kB / 0.9315 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01762/1.605, allocations: 5.734 MB / 0.9371 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001308/1.606, allocations: 6.312 kB / 0.9371 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007921/1.606, allocations: 169.6 kB / 0.9373 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002237/1.607, allocations: 189.2 kB / 0.9375 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01685/1.624, allocations: 5.569 MB / 0.9429 GB, free: 6.402 MB / 0.7169 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.05022/1.674, allocations: 20.46 MB / 0.9629 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009905/1.684, allocations: 3.665 MB / 0.9665 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002751/1.687, allocations: 1.913 MB / 0.9683 GB, free: 10.74 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005881/1.692, allocations: 2.035 MB / 0.9703 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=267): time 8.817e-06/1.693, allocations: 0 / 0.9703 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=267): time 0.01711/1.71, allocations: 5.121 MB / 0.9753 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002018/1.71, allocations: 235.3 kB / 0.9755 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01159/1.721, allocations: 3.735 MB / 0.9792 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001344/1.723, allocations: 77.67 kB / 0.9793 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.003396/1.726, allocations: 2.033 MB / 0.9812 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002157/1.728, allocations: 0.9076 MB / 0.9821 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002845/1.729, allocations: 60.78 kB / 0.9822 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002879/1.729, allocations: 427.1 kB / 0.9826 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003767/1.733, allocations: 1.546 MB / 0.9841 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004063/1.737, allocations: 2.218 MB / 0.9863 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003942/1.741, allocations: 1.886 MB / 0.9881 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.47e-05/1.741, allocations: 6.562 kB / 0.9881 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.01061/1.752, allocations: 4.368 MB / 0.9924 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.00395/1.756, allocations: 7.517 MB / 0.9997 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.766e-05/1.756, allocations: 17.62 kB / 0.9997 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006967/1.756, allocations: 117.2 kB / 0.9999 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00482/1.761, allocations: 0.813 MB / 1.001 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002689/1.764, allocations: 2.165 MB / 1.003 GB, free: 9.047 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007115/1.771, allocations: 0.5188 MB / 1.003 GB, free: 8.777 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008082/1.772, allocations: 149.1 kB / 1.003 GB, free: 8.754 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/1.772, allocations: 7.891 kB / 1.003 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0122/1.784, allocations: 4.029 MB / 1.007 GB, free: 7.098 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-05/1.784, allocations: 16 kB / 1.007 GB, free: 7.082 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006472/1.785, allocations: 117.6 kB / 1.007 GB, free: 6.973 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004613/1.789, allocations: 0.7976 MB / 1.008 GB, free: 6.238 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/1.792, allocations: 1.584 MB / 1.01 GB, free: 4.676 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00628/1.798, allocations: 494.9 kB / 1.01 GB, free: 4.234 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001134/1.799, allocations: 143.2 kB / 1.01 GB, free: 4.117 MB / 0.7481 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.006559/1.806, allocations: 1.546 MB / 1.012 GB, free: 3.141 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002347/1.808, allocations: 387.3 kB / 1.012 GB, free: 2.758 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01396/1.822, allocations: 4.376 MB / 1.017 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.712e-05/1.822, allocations: 28 kB / 1.017 GB, free: 15.67 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/1.822, allocations: 7.938 kB / 1.017 GB, free: 15.66 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008825/1.831, allocations: 3.511 MB / 1.02 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02818/1.859, allocations: 8.914 MB / 1.029 GB, free: 7.121 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-05/1.859, allocations: 0 / 1.029 GB, free: 7.121 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003804/1.863, allocations: 0.6384 MB / 1.029 GB, free: 6.527 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005901/1.864, allocations: 91.39 kB / 1.029 GB, free: 6.441 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007504/1.865, allocations: 89.17 kB / 1.03 GB, free: 6.395 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002564/1.867, allocations: 2.174 MB / 1.032 GB, free: 4.227 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.867, allocations: 0 / 1.032 GB, free: 4.227 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01828/1.885, allocations: 6.242 MB / 1.038 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005038/1.891, allocations: 1.06 MB / 1.039 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002516/1.893, allocations: 57.16 kB / 1.039 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005833/1.899, allocations: 329.7 kB / 1.039 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007041/1.9, allocations: 183.4 kB / 1.039 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007511/1.9, allocations: 122 kB / 1.039 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.007818/1.908, allocations: 2.641 MB / 1.042 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.076e-06/1.908, allocations: 0 / 1.042 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.01449/1.923, allocations: 2.303 MB / 1.044 GB, free: 10.49 MB / 0.7794 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.003587/1.926, allocations: 0.8603 MB / 1.045 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01762/1.944, allocations: 6.152 MB / 1.051 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/1.944, allocations: 4.562 kB / 1.051 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.005724/1.95, allocations: 1.989 MB / 1.053 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01297/1.963, allocations: 2.019 MB / 1.055 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03162/1.995, allocations: 11.49 MB / 1.066 GB, free: 8.195 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009349/2.004, allocations: 3.178 MB / 1.069 GB, free: 5.34 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.01651/2.021, allocations: 2.108 MB / 1.071 GB, free: 3.227 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00299/2.024, allocations: 397.9 kB / 1.072 GB, free: 2.867 MB / 0.795 GB Notification: Performance of SimCode: time 2.645e-06/2.024, allocations: 0 / 1.072 GB, free: 2.867 MB / 0.795 GB Notification: Performance of Templates: time 0.1604/2.184, allocations: 79.33 MB / 1.149 GB, free: 4.75 MB / 0.8731 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1) Environment - environmentSimulation: