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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.212/4.212, allocations: 433.2 MB / 440.7 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.882e-05/2.887e-05, allocations: 5 kB / 0.5325 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2434, allocations: 98.73 MB / 0.6289 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.694/7.937, allocations: 2.505 GB / 3.134 GB, free: 134 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/7.938, allocations: 94.31 kB / 3.134 GB, free: 134 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 13.98/21.92, allocations: 2.576 GB / 5.71 GB, free: 74.83 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.514e-06/21.92, allocations: 3.062 kB / 5.71 GB, free: 74.83 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001719/21.92, allocations: 167.4 kB / 5.71 GB, free: 74.81 MB / 0.8855 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.03558/21.95, allocations: 6.179 MB / 5.716 GB, free: 72.35 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.016e-05/21.95, allocations: 11.28 kB / 5.716 GB, free: 72.35 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01975/21.97, allocations: 1.495 MB / 5.718 GB, free: 71.96 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0316/22.01, allocations: 7.497 MB / 5.725 GB, free: 71.03 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000394/22.01, allocations: 152.5 kB / 5.725 GB, free: 71.03 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002461/22.01, allocations: 302.8 kB / 5.726 GB, free: 71.03 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01789/22.03, allocations: 5.347 MB / 5.731 GB, free: 71 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02373/22.05, allocations: 5.888 MB / 5.737 GB, free: 70.55 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002585/22.05, allocations: 9.375 kB / 5.737 GB, free: 70.55 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001799/22.05, allocations: 2.125 kB / 5.737 GB, free: 70.55 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003146/22.05, allocations: 228.6 kB / 5.737 GB, free: 70.54 MB / 0.8855 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.06566/22.12, allocations: 27.18 MB / 5.763 GB, free: 60.32 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009707/22.13, allocations: 5.148 MB / 5.768 GB, free: 58.65 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005656/22.13, allocations: 2.339 MB / 5.771 GB, free: 58.62 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001602/22.14, allocations: 0.9225 MB / 5.772 GB, free: 57.68 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005934/22.14, allocations: 2.154 MB / 5.774 GB, free: 57.52 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=322): time 7.585e-06/22.14, allocations: 0 / 5.774 GB, free: 57.52 MB / 0.8855 GB Notification: Performance of matching and sorting (n=326): time 0.04382/22.19, allocations: 10.78 MB / 5.784 GB, free: 54.54 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/22.19, allocations: 296.7 kB / 5.785 GB, free: 54.23 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01134/22.2, allocations: 4.158 MB / 5.789 GB, free: 53.94 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.001143/22.2, allocations: 34.14 kB / 5.789 GB, free: 53.91 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.004723/22.2, allocations: 2.733 MB / 5.791 GB, free: 52.98 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.002124/22.21, allocations: 1.086 MB / 5.792 GB, free: 52.25 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003758/22.21, allocations: 7.875 kB / 5.792 GB, free: 52.25 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0003157/22.21, allocations: 448.5 kB / 5.793 GB, free: 51.94 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00419/22.21, allocations: 1.643 MB / 5.794 GB, free: 51.88 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005538/22.22, allocations: 2.542 MB / 5.797 GB, free: 50.27 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006374/22.22, allocations: 2.214 MB / 5.799 GB, free: 49.47 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.116e-05/22.22, allocations: 3.156 kB / 5.799 GB, free: 49.47 MB / 0.8855 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.01784/22.24, allocations: 4.735 MB / 5.804 GB, free: 47.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001427/22.24, allocations: 6.388 MB / 5.81 GB, free: 40.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001126/22.24, allocations: 14.41 kB / 5.81 GB, free: 40.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009443/22.24, allocations: 197.1 kB / 5.81 GB, free: 40.82 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006916/22.25, allocations: 0.7638 MB / 5.811 GB, free: 40.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004043/22.25, allocations: 3.372 MB / 5.814 GB, free: 37.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01044/22.26, allocations: 0.5253 MB / 5.815 GB, free: 37.93 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00115/22.27, allocations: 133.1 kB / 5.815 GB, free: 37.91 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/22.27, allocations: 3.656 kB / 5.815 GB, free: 37.91 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01247/22.28, allocations: 4.188 MB / 5.819 GB, free: 36.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.377e-05/22.28, allocations: 21.56 kB / 5.819 GB, free: 36.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008745/22.28, allocations: 195.7 kB / 5.819 GB, free: 36.43 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006472/22.29, allocations: 0.7444 MB / 5.82 GB, free: 36.36 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005583/22.29, allocations: 3.917 MB / 5.824 GB, free: 33.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01013/22.3, allocations: 0.5108 MB / 5.824 GB, free: 33.07 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001141/22.3, allocations: 139.6 kB / 5.824 GB, free: 33.05 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (398): * Single equations (assignments): 392 * 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.00134/22.3, allocations: 213.7 kB / 5.825 GB, free: 32.86 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01243/22.32, allocations: 4.02 MB / 5.828 GB, free: 31.34 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002463/22.32, allocations: 495.3 kB / 5.829 GB, free: 31.09 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01379/22.33, allocations: 4.413 MB / 5.833 GB, free: 29.45 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.48e-05/22.33, allocations: 39.36 kB / 5.833 GB, free: 29.44 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/22.33, allocations: 3.344 kB / 5.833 GB, free: 29.44 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01039/22.34, allocations: 3.696 MB / 5.837 GB, free: 28.04 MB / 0.8855 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.03278/22.38, allocations: 10.96 MB / 5.848 GB, free: 19.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.797e-05/22.38, allocations: 0 / 5.848 GB, free: 19.72 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00697/22.38, allocations: 0.7438 MB / 5.848 GB, free: 19.12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007214/22.38, allocations: 147 kB / 5.848 GB, free: 18.99 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000782/22.38, allocations: 50.97 kB / 5.848 GB, free: 18.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003518/22.39, allocations: 3.26 MB / 5.852 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/22.39, allocations: 4 kB / 5.852 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01742/22.41, allocations: 7.397 MB / 5.859 GB, free: 8.969 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005356/22.41, allocations: 1.186 MB / 5.86 GB, free: 7.895 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002052/22.41, allocations: 27.8 kB / 5.86 GB, free: 7.871 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0088/22.42, allocations: 460.7 kB / 5.861 GB, free: 7.602 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001055/22.42, allocations: 202.5 kB / 5.861 GB, free: 7.473 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004663/22.42, allocations: 107.7 kB / 5.861 GB, free: 7.379 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.008317/22.43, allocations: 3.22 MB / 5.864 GB, free: 4.613 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.21e-07/22.43, allocations: 1.641 kB / 5.864 GB, free: 4.613 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.02072/22.45, allocations: 2.945 MB / 5.867 GB, free: 1.699 MB / 0.8855 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.02784/22.48, allocations: 11.95 MB / 5.879 GB, free: 7.129 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01943/22.5, allocations: 6.936 MB / 5.885 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/22.5, allocations: 0.7812 kB / 5.885 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.8685/23.37, allocations: 2.423 MB / 5.888 GB, free: 98.29 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02714/23.4, allocations: 2.934 MB / 5.891 GB, free: 98.25 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04654/23.44, allocations: 13.35 MB / 5.904 GB, free: 96 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01074/23.45, allocations: 4.692 MB / 5.908 GB, free: 95.15 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.02592/23.48, allocations: 4.446 MB / 5.912 GB, free: 95.09 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007759/23.49, allocations: 2.497 MB / 5.915 GB, free: 95.09 MB / 0.9011 GB Notification: Performance of SimCode: time 2.144e-06/23.49, allocations: 0 / 5.915 GB, free: 95.09 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4632/23.95, allocations: 177 MB / 6.088 GB, free: 76.71 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002601/23.95, allocations: 188.7 kB / 6.088 GB, free: 76.52 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/34.84, allocations: 4 kB / 6.088 GB, free: 76.52 MB / 0.9011 GB