Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Tubular,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Examples_Tubular",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01702/0.01702, allocations: 108.5 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00138/0.001379, allocations: 181.3 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.124/2.124, allocations: 194.6 MB / 211.3 MB, free: 11.22 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.559/2.559, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.00049, allocations: 12 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8031/0.8036, allocations: 98.71 MB / 0.6834 GB, free: 16.74 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.Tubular): time 0.06836/0.8721, allocations: 30.48 MB / 0.7132 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.2861/1.158, allocations: 135.6 MB / 0.8456 GB, free: 7.965 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003144/1.161, allocations: 51.69 kB / 0.8456 GB, free: 7.914 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002981/1.164, allocations: 0.5126 MB / 0.8461 GB, free: 7.398 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008094/1.173, allocations: 1.675 MB / 0.8478 GB, free: 5.719 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.007678/1.18, allocations: 1.656 MB / 0.8494 GB, free: 4.059 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.01496/1.195, allocations: 6.817 MB / 0.856 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01004/1.205, allocations: 4.48 MB / 0.8604 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0081/1.214, allocations: 2.775 MB / 0.8631 GB, free: 5.918 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006237/1.22, allocations: 2.313 MB / 0.8654 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001466/1.221, allocations: 176 kB / 0.8655 GB, free: 3.422 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006024/1.227, allocations: 0.987 MB / 0.8665 GB, free: 2.434 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.002392/1.23, allocations: 0.8832 MB / 0.8674 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00274/1.233, allocations: 1.038 MB / 0.8684 GB, free: 0.5 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01249/1.245, allocations: 6.737 MB / 0.875 GB, free: 9.746 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/1.245, allocations: 0 / 0.875 GB, free: 9.746 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.016e-06/1.245, allocations: 0 / 0.875 GB, free: 9.746 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002738/1.246, allocations: 0 / 0.875 GB, free: 9.746 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1034 * Number of variables: 1034 Notification: Performance of Generate backend data structure: time 0.01785/1.263, allocations: 4.956 MB / 0.8798 GB, free: 4.703 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/1.263, allocations: 11.98 kB / 0.8798 GB, free: 4.691 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002346/1.266, allocations: 0.5552 MB / 0.8804 GB, free: 4.129 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01662/1.282, allocations: 1.543 MB / 0.8819 GB, free: 2.578 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01731/1.3, allocations: 4.555 MB / 0.8863 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005276/1.3, allocations: 299.9 kB / 0.8866 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00221/1.303, allocations: 395.9 kB / 0.887 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0238/1.327, allocations: 5.761 MB / 0.8926 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001788/1.327, allocations: 7.938 kB / 0.8926 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001324/1.328, allocations: 168 kB / 0.8928 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002792/1.328, allocations: 179.6 kB / 0.8929 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02521/1.354, allocations: 5.693 MB / 0.8985 GB, free: 1.285 MB / 0.7136 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.6871/2.041, allocations: 20.51 MB / 0.9185 GB, free: 199.9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0181/2.059, allocations: 3.757 MB / 0.9222 GB, free: 199.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003562/2.063, allocations: 1.91 MB / 0.9241 GB, free: 197.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01035/2.073, allocations: 2.074 MB / 0.9261 GB, free: 196.9 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=265): time 2.007e-05/2.073, allocations: 0 / 0.9261 GB, free: 196.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=265): time 0.02899/2.102, allocations: 5.239 MB / 0.9312 GB, free: 195.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/2.102, allocations: 216.7 kB / 0.9314 GB, free: 195 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01106/2.113, allocations: 3.693 MB / 0.935 GB, free: 193.7 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0008891/2.114, allocations: 76.83 kB / 0.9351 GB, free: 193.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.003071/2.117, allocations: 1.998 MB / 0.937 GB, free: 192.4 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.00187/2.119, allocations: 0.9049 MB / 0.9379 GB, free: 191.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005354/2.12, allocations: 56.38 kB / 0.938 GB, free: 191.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003112/2.12, allocations: 423.7 kB / 0.9384 GB, free: 191.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007624/2.128, allocations: 1.61 MB / 0.94 GB, free: 190.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008489/2.136, allocations: 2.267 MB / 0.9422 GB, free: 189.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008643/2.145, allocations: 1.993 MB / 0.9441 GB, free: 188.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.644e-05/2.145, allocations: 6.828 kB / 0.9441 GB, free: 188.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.02259/2.168, allocations: 4.594 MB / 0.9486 GB, free: 186.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.00189/2.17, allocations: 7.529 MB / 0.956 GB, free: 178.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-05/2.17, allocations: 16.22 kB / 0.956 GB, free: 178.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/2.171, allocations: 115.5 kB / 0.9561 GB, free: 178.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008624/2.18, allocations: 0.8244 MB / 0.9569 GB, free: 178.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003409/2.183, allocations: 2.161 MB / 0.959 GB, free: 176.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008029/2.191, allocations: 0.533 MB / 0.9595 GB, free: 175.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001114/2.192, allocations: 153.2 kB / 0.9597 GB, free: 175.8 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/2.193, allocations: 4.656 kB / 0.9597 GB, free: 175.8 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02001/2.213, allocations: 4.271 MB / 0.9638 GB, free: 173.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.595e-05/2.213, allocations: 19.7 kB / 0.9639 GB, free: 173.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009997/2.214, allocations: 117.4 kB / 0.964 GB, free: 173.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008028/2.222, allocations: 0.8098 MB / 0.9648 GB, free: 173.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002913/2.225, allocations: 1.579 MB / 0.9663 GB, free: 171.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007596/2.232, allocations: 0.4925 MB / 0.9668 GB, free: 171.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001037/2.233, allocations: 151.1 kB / 0.9669 GB, free: 171.4 MB / 0.7292 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.conTim1.tNext,weaDat.conTim1.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 (373): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 2 * 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.005044/2.238, allocations: 1.526 MB / 0.9684 GB, free: 170.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001991/2.241, allocations: 383.5 kB / 0.9688 GB, free: 170.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02126/2.262, allocations: 4.463 MB / 0.9731 GB, free: 167.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.178e-05/2.262, allocations: 31.19 kB / 0.9732 GB, free: 167.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/2.262, allocations: 3.438 kB / 0.9732 GB, free: 167.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01638/2.278, allocations: 3.567 MB / 0.9767 GB, free: 164.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03356/2.312, allocations: 8.954 MB / 0.9854 GB, free: 155.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-05/2.312, allocations: 0 / 0.9854 GB, free: 155.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007072/2.319, allocations: 0.6397 MB / 0.986 GB, free: 154.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009358/2.32, allocations: 88.77 kB / 0.9861 GB, free: 154.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007929/2.321, allocations: 95.88 kB / 0.9862 GB, free: 154.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002837/2.324, allocations: 2.153 MB / 0.9883 GB, free: 152.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/2.324, allocations: 3.938 kB / 0.9883 GB, free: 152.4 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03067/2.355, allocations: 6.278 MB / 0.9944 GB, free: 146 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005799/2.36, allocations: 1.065 MB / 0.9955 GB, free: 144.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002707/2.363, allocations: 56 kB / 0.9955 GB, free: 144.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0109/2.374, allocations: 341.8 kB / 0.9959 GB, free: 144.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001262/2.375, allocations: 166 kB / 0.996 GB, free: 144.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001227/2.377, allocations: 123.9 kB / 0.9961 GB, free: 144.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.01027/2.387, allocations: 2.607 MB / 0.9987 GB, free: 141.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.724e-06/2.387, allocations: 0 / 0.9987 GB, free: 141.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01581/2.403, allocations: 2.315 MB / 1.001 GB, free: 139.4 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (280): * Single equations (assignments): 270 * 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.04607/2.449, allocations: 7.71 MB / 1.008 GB, free: 131.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.02615/2.475, allocations: 6.531 MB / 1.015 GB, free: 125.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/2.475, allocations: 4.656 kB / 1.015 GB, free: 125.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.008468/2.484, allocations: 2.024 MB / 1.017 GB, free: 123.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01584/2.5, allocations: 1.962 MB / 1.019 GB, free: 121.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04179/2.542, allocations: 25.86 MB / 1.044 GB, free: 94.67 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005488/2.547, allocations: 3.159 MB / 1.047 GB, free: 91.48 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.01485/2.562, allocations: 2.084 MB / 1.049 GB, free: 89.38 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005822/2.568, allocations: 1.917 MB / 1.051 GB, free: 87.46 MB / 0.7292 GB Notification: Performance of SimCode: time 7.41e-07/2.568, allocations: 0 / 1.051 GB, free: 87.46 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2726/2.841, allocations: 114.7 MB / 1.163 GB, free: 5.672 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004262/2.841, allocations: 295.7 kB / 1.163 GB, free: 5.305 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.471/10.31, allocations: 0 / 1.163 GB, free: 5.305 MB / 0.7605 GB