Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPControl.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.HeatExchangers.Examples.WetCoilCounterFlowPControl,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPControl",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.01126/0.01126, allocations: 108.7 kB / 15.05 MB, free: 5.984 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.001248/0.001248, allocations: 183.5 kB / 15.94 MB, free: 5.941 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.211/2.211, allocations: 194.5 MB / 211.3 MB, free: 11.07 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.345/2.345, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005099/0.00051, allocations: 12 kB / 0.587 GB, free: 2.059 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.698/0.6985, allocations: 98.71 MB / 0.6834 GB, free: 16.66 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.217/8.916, allocations: 2.496 GB / 3.179 GB, free: 196.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000359/8.916, allocations: 99.7 kB / 3.179 GB, free: 196.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 14.91/23.83, allocations: 2.603 GB / 5.782 GB, free: 73.51 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.817e-06/23.83, allocations: 0 / 5.782 GB, free: 73.51 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001683/23.83, allocations: 166.6 kB / 5.782 GB, free: 73.49 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1251 * Number of variables: 1251 Notification: Performance of Generate backend data structure: time 0.03966/23.87, allocations: 7.493 MB / 5.79 GB, free: 70.88 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/23.87, allocations: 9.938 kB / 5.79 GB, free: 70.88 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004219/23.87, allocations: 0.6724 MB / 5.79 GB, free: 70.81 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01651/23.89, allocations: 1.501 MB / 5.792 GB, free: 70.43 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03149/23.92, allocations: 7.533 MB / 5.799 GB, free: 69.5 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007082/23.92, allocations: 376 kB / 5.799 GB, free: 69.49 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003072/23.93, allocations: 0.5 MB / 5.8 GB, free: 69.48 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02837/23.95, allocations: 6.718 MB / 5.806 GB, free: 69.01 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000465/23.95, allocations: 13.34 kB / 5.806 GB, free: 69 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002545/23.96, allocations: 204 kB / 5.807 GB, free: 69 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000415/23.96, allocations: 220.7 kB / 5.807 GB, free: 68.99 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02348/23.98, allocations: 5.914 MB / 5.813 GB, free: 68.94 MB / 0.9011 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.0775/24.06, allocations: 28.08 MB / 5.84 GB, free: 58.54 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01195/24.07, allocations: 4.351 MB / 5.844 GB, free: 57.91 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00186/24.07, allocations: 0.923 MB / 5.845 GB, free: 56.96 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007829/24.08, allocations: 2.178 MB / 5.847 GB, free: 56.83 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=322): time 9.578e-06/24.08, allocations: 0 / 5.847 GB, free: 56.83 MB / 0.9011 GB Notification: Performance of matching and sorting (n=326): time 0.04935/24.13, allocations: 11.59 MB / 5.859 GB, free: 54.87 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/24.13, allocations: 244.8 kB / 5.859 GB, free: 54.61 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0158/24.15, allocations: 4.593 MB / 5.863 GB, free: 54.32 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001273/24.15, allocations: 92.36 kB / 5.863 GB, free: 54.29 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.005662/24.15, allocations: 2.767 MB / 5.866 GB, free: 53.39 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.002598/24.16, allocations: 1.12 MB / 5.867 GB, free: 52.67 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001056/24.16, allocations: 66.5 kB / 5.867 GB, free: 52.67 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0005015/24.16, allocations: 443.9 kB / 5.868 GB, free: 52.36 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006045/24.16, allocations: 1.784 MB / 5.869 GB, free: 52.35 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00752/24.17, allocations: 2.704 MB / 5.872 GB, free: 51.47 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007452/24.18, allocations: 2.312 MB / 5.874 GB, free: 51.39 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-05/24.18, allocations: 5.094 kB / 5.874 GB, free: 51.39 MB / 0.9011 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.01981/24.2, allocations: 5.116 MB / 5.879 GB, free: 50.96 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001604/24.2, allocations: 6.236 MB / 5.885 GB, free: 44.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001182/24.2, allocations: 15.09 kB / 5.885 GB, free: 44.36 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/24.2, allocations: 203.6 kB / 5.886 GB, free: 44.34 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007113/24.21, allocations: 0.7558 MB / 5.886 GB, free: 44.34 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004756/24.21, allocations: 3.457 MB / 5.89 GB, free: 41.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0113/24.22, allocations: 0.5938 MB / 5.89 GB, free: 41.86 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00126/24.23, allocations: 136.9 kB / 5.89 GB, free: 41.86 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/24.23, allocations: 3.719 kB / 5.89 GB, free: 41.86 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01733/24.24, allocations: 4.627 MB / 5.895 GB, free: 41.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.933e-05/24.24, allocations: 13.53 kB / 5.895 GB, free: 41.71 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00106/24.24, allocations: 207.9 kB / 5.895 GB, free: 41.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006821/24.25, allocations: 0.7392 MB / 5.896 GB, free: 41.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006779/24.26, allocations: 4.126 MB / 5.9 GB, free: 38.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0109/24.27, allocations: 0.573 MB / 5.901 GB, free: 38.92 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001217/24.27, allocations: 131 kB / 5.901 GB, free: 38.92 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (397): * Single equations (assignments): 391 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.008194/24.28, allocations: 2.429 MB / 5.903 GB, free: 38.69 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002832/24.28, allocations: 0.5005 MB / 5.904 GB, free: 38.43 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0192/24.3, allocations: 4.849 MB / 5.908 GB, free: 38.17 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.306e-05/24.3, allocations: 36.17 kB / 5.908 GB, free: 38.17 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/24.3, allocations: 0 / 5.908 GB, free: 38.17 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01408/24.32, allocations: 4.041 MB / 5.912 GB, free: 37.86 MB / 0.9011 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 postOpt removeSimpleEquations (simulation): time 0.04302/24.36, allocations: 11.79 MB / 5.924 GB, free: 36.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.539e-05/24.36, allocations: 3.5 kB / 5.924 GB, free: 36.98 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007176/24.37, allocations: 0.7445 MB / 5.924 GB, free: 36.98 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009051/24.37, allocations: 170.8 kB / 5.925 GB, free: 36.96 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001003/24.37, allocations: 88.36 kB / 5.925 GB, free: 36.96 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00552/24.37, allocations: 3.362 MB / 5.928 GB, free: 50.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/24.37, allocations: 5.188 kB / 5.928 GB, free: 50.52 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02379/24.4, allocations: 7.892 MB / 5.936 GB, free: 48.23 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006035/24.4, allocations: 1.211 MB / 5.937 GB, free: 47.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002811/24.41, allocations: 84.22 kB / 5.937 GB, free: 47.48 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009464/24.42, allocations: 0.5023 MB / 5.937 GB, free: 47.42 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001169/24.42, allocations: 200.8 kB / 5.938 GB, free: 47.39 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009734/24.42, allocations: 109.4 kB / 5.938 GB, free: 47.36 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01184/24.43, allocations: 3.614 MB / 5.941 GB, free: 46.11 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.092e-06/24.43, allocations: 2.781 kB / 5.941 GB, free: 46.11 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.02322/24.45, allocations: 3.177 MB / 5.944 GB, free: 45.72 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 21 (temSen.T,val.filter.x[1],val.filter.x[2],hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,con.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (314): * Single equations (assignments): 306 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * 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: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.03162/24.48, allocations: 12.2 MB / 5.956 GB, free: 39.62 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.02271/24.51, allocations: 7.291 MB / 5.963 GB, free: 36.89 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.081e-05/24.51, allocations: 4.75 kB / 5.963 GB, free: 36.89 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.007216/24.51, allocations: 2.343 MB / 5.966 GB, free: 36.01 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02695/24.54, allocations: 3.075 MB / 5.969 GB, free: 35.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06395/24.61, allocations: 34.91 MB / 6.003 GB, free: 8.727 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01201/24.62, allocations: 4.684 MB / 6.007 GB, free: 6.074 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.01803/24.64, allocations: 2.666 MB / 6.01 GB, free: 4.34 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01002/24.65, allocations: 2.578 MB / 6.013 GB, free: 1.957 MB / 0.9167 GB Notification: Performance of SimCode: time 1.533e-06/24.65, allocations: 0 / 6.013 GB, free: 1.957 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.289/25.94, allocations: 199.3 MB / 6.207 GB, free: 99.48 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003083/25.94, allocations: 274.5 kB / 6.207 GB, free: 99.12 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/37.25, allocations: 0 / 6.207 GB, free: 99.12 MB / 0.9323 GB