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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.03/4.03, allocations: 432.6 MB / 445.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.607e-05/3.616e-05, allocations: 4.75 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2074, allocations: 98.74 MB / 0.6347 GB, free: 1.848 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.969/8.177, allocations: 2.506 GB / 3.141 GB, free: 158.5 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003317/8.177, allocations: 98.48 kB / 3.141 GB, free: 158.4 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 13.95/22.13, allocations: 2.599 GB / 5.739 GB, free: 78.08 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.426e-06/22.13, allocations: 3.812 kB / 5.739 GB, free: 78.08 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001468/22.13, allocations: 170.2 kB / 5.739 GB, free: 78.05 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.02789/22.16, allocations: 6.184 MB / 5.746 GB, free: 75.86 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/22.16, allocations: 10.91 kB / 5.746 GB, free: 75.86 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003186/22.16, allocations: 0.6625 MB / 5.746 GB, free: 75.79 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01411/22.18, allocations: 1.496 MB / 5.748 GB, free: 75.41 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02752/22.2, allocations: 7.488 MB / 5.755 GB, free: 74.48 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000587/22.2, allocations: 379.1 kB / 5.755 GB, free: 74.46 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002572/22.21, allocations: 0.496 MB / 5.756 GB, free: 74.46 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02339/22.23, allocations: 6.598 MB / 5.762 GB, free: 73.98 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000253/22.23, allocations: 12.41 kB / 5.762 GB, free: 73.98 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00167/22.23, allocations: 204.3 kB / 5.762 GB, free: 73.98 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003043/22.23, allocations: 223.2 kB / 5.763 GB, free: 73.97 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01935/22.25, allocations: 5.726 MB / 5.768 GB, free: 73.92 MB / 0.9011 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.067/22.32, allocations: 28.08 MB / 5.796 GB, free: 63.52 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009601/22.33, allocations: 4.263 MB / 5.8 GB, free: 62.88 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006078/22.33, allocations: 2.442 MB / 5.802 GB, free: 62.84 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001617/22.34, allocations: 0.9282 MB / 5.803 GB, free: 61.9 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006519/22.34, allocations: 2.115 MB / 5.805 GB, free: 61.77 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=322): time 8.405e-06/22.34, allocations: 6.438 kB / 5.805 GB, free: 61.76 MB / 0.9011 GB Notification: Performance of matching and sorting (n=326): time 0.03411/22.38, allocations: 9.51 MB / 5.814 GB, free: 60.01 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/22.38, allocations: 254.3 kB / 5.815 GB, free: 59.75 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01255/22.39, allocations: 4.529 MB / 5.819 GB, free: 59.43 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.00108/22.39, allocations: 97.52 kB / 5.819 GB, free: 59.4 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.004662/22.4, allocations: 2.75 MB / 5.822 GB, free: 58.52 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.00225/22.4, allocations: 1.133 MB / 5.823 GB, free: 57.79 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004327/22.4, allocations: 64.16 kB / 5.823 GB, free: 57.79 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0003378/22.4, allocations: 441.4 kB / 5.824 GB, free: 57.48 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004654/22.4, allocations: 1.718 MB / 5.825 GB, free: 57.47 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006102/22.41, allocations: 2.633 MB / 5.828 GB, free: 56.59 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00595/22.42, allocations: 2.252 MB / 5.83 GB, free: 56.5 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.418e-05/22.42, allocations: 3.875 kB / 5.83 GB, free: 56.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=421) (initialization): time 0.01618/22.43, allocations: 4.985 MB / 5.835 GB, free: 56.07 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001391/22.43, allocations: 6.229 MB / 5.841 GB, free: 49.47 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.37e-05/22.43, allocations: 18.56 kB / 5.841 GB, free: 49.47 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/22.43, allocations: 204.6 kB / 5.841 GB, free: 49.45 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007065/22.44, allocations: 0.7569 MB / 5.842 GB, free: 49.45 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004054/22.45, allocations: 3.413 MB / 5.845 GB, free: 47.01 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01124/22.46, allocations: 0.603 MB / 5.846 GB, free: 46.97 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001107/22.46, allocations: 131.2 kB / 5.846 GB, free: 46.97 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/22.46, allocations: 4.781 kB / 5.846 GB, free: 46.97 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01332/22.47, allocations: 4.518 MB / 5.85 GB, free: 46.83 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.537e-05/22.47, allocations: 13.12 kB / 5.85 GB, free: 46.83 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009636/22.47, allocations: 214.3 kB / 5.851 GB, free: 46.81 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006838/22.48, allocations: 0.7328 MB / 5.851 GB, free: 46.81 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006042/22.49, allocations: 4.06 MB / 5.855 GB, free: 44.07 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01104/22.5, allocations: 0.5796 MB / 5.856 GB, free: 44.04 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001172/22.5, allocations: 131 kB / 5.856 GB, free: 44.04 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 () * 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.002176/22.5, allocations: 343.3 kB / 5.856 GB, free: 43.89 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002534/22.5, allocations: 0.4975 MB / 5.857 GB, free: 43.63 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01662/22.52, allocations: 4.733 MB / 5.861 GB, free: 43.36 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.302e-05/22.52, allocations: 35 kB / 5.861 GB, free: 43.36 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/22.52, allocations: 2.344 kB / 5.861 GB, free: 43.36 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01194/22.53, allocations: 3.922 MB / 5.865 GB, free: 43.05 MB / 0.9011 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 postOpt removeSimpleEquations (simulation): time 0.03743/22.57, allocations: 11.68 MB / 5.877 GB, free: 40.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-05/22.57, allocations: 3.75 kB / 5.877 GB, free: 40.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007377/22.58, allocations: 0.7396 MB / 5.877 GB, free: 40.48 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009516/22.58, allocations: 166.3 kB / 5.878 GB, free: 40.43 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009675/22.58, allocations: 93.5 kB / 5.878 GB, free: 40.38 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003699/22.58, allocations: 3.324 MB / 5.881 GB, free: 37.51 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/22.58, allocations: 5.781 kB / 5.881 GB, free: 37.51 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02084/22.6, allocations: 7.719 MB / 5.888 GB, free: 33.91 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005695/22.61, allocations: 1.21 MB / 5.89 GB, free: 33.22 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002545/22.61, allocations: 85.88 kB / 5.89 GB, free: 33.17 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009588/22.62, allocations: 0.5049 MB / 5.89 GB, free: 33.1 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001059/22.62, allocations: 197 kB / 5.89 GB, free: 33.07 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005704/22.62, allocations: 108.5 kB / 5.89 GB, free: 33.05 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.01037/22.63, allocations: 3.555 MB / 5.894 GB, free: 31.77 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.844e-06/22.63, allocations: 1.781 kB / 5.894 GB, free: 31.77 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.02086/22.65, allocations: 3.177 MB / 5.897 GB, free: 31.39 MB / 0.9011 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) * 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.02636/22.68, allocations: 12.05 MB / 5.909 GB, free: 25.37 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01934/22.7, allocations: 7.281 MB / 5.916 GB, free: 22.54 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-05/22.7, allocations: 4.5 kB / 5.916 GB, free: 22.54 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.006019/22.71, allocations: 2.279 MB / 5.918 GB, free: 20.96 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02602/22.73, allocations: 3.065 MB / 5.921 GB, free: 18.91 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0429/22.78, allocations: 13.66 MB / 5.934 GB, free: 7.758 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00932/22.78, allocations: 4.685 MB / 5.939 GB, free: 20.28 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.02387/22.81, allocations: 4.421 MB / 5.943 GB, free: 17.6 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006926/22.82, allocations: 2.499 MB / 5.946 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of SimCode: time 3.045e-06/22.82, allocations: 0 / 5.946 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.216/24.03, allocations: 215 MB / 6.156 GB, free: 79.04 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002509/24.03, allocations: 243.5 kB / 6.156 GB, free: 78.71 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/36.49, allocations: 0 / 6.156 GB, free: 78.71 MB / 0.9167 GB