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.WaterCooler_T.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.WaterCooler_T,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.922/3.922, allocations: 433.2 MB / 440.7 MB, free: 4.562 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.485e-05/2.486e-05, allocations: 5.125 kB / 0.5325 GB, free: 12.69 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2203, allocations: 98.74 MB / 0.6289 GB, free: 9.09 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.19/1.41, allocations: 437.3 MB / 1.056 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004889/1.411, allocations: 91.52 kB / 1.056 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.191/7.602, allocations: 1.119 GB / 2.175 GB, free: 120.7 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.505e-06/7.602, allocations: 0 / 2.175 GB, free: 120.7 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0003632/7.603, allocations: 51.16 kB / 2.175 GB, free: 120.6 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.006508/7.609, allocations: 2.1 MB / 2.177 GB, free: 119.7 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/7.609, allocations: 7.625 kB / 2.177 GB, free: 119.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003741/7.613, allocations: 463.1 kB / 2.177 GB, free: 119.6 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009331/7.623, allocations: 2.293 MB / 2.179 GB, free: 119.1 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-05/7.623, allocations: 33 kB / 2.179 GB, free: 119.1 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003525/7.623, allocations: 83.19 kB / 2.179 GB, free: 119.1 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002271/7.625, allocations: 0.785 MB / 2.18 GB, free: 119.1 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002521/7.628, allocations: 1.081 MB / 2.181 GB, free: 118.8 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.991e-05/7.628, allocations: 3.969 kB / 2.181 GB, free: 118.8 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/7.628, allocations: 0 / 2.181 GB, free: 118.8 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.864e-05/7.628, allocations: 33.41 kB / 2.181 GB, free: 118.8 MB / 0.8386 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.01219/7.64, allocations: 6.663 MB / 2.188 GB, free: 114.7 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/7.642, allocations: 1.138 MB / 2.189 GB, free: 114.2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006904/7.643, allocations: 295 kB / 2.189 GB, free: 114.1 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006375/7.649, allocations: 2.871 MB / 2.192 GB, free: 112.2 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007018/7.65, allocations: 321.5 kB / 2.192 GB, free: 112.2 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00093/7.651, allocations: 80.41 kB / 2.192 GB, free: 112.1 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=59): time 4.448e-06/7.651, allocations: 0 / 2.192 GB, free: 112.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=59): time 0.01164/7.663, allocations: 1.469 MB / 2.194 GB, free: 112 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.453e-05/7.663, allocations: 173.4 kB / 2.194 GB, free: 111.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002577/7.665, allocations: 1.236 MB / 2.195 GB, free: 111.6 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002666/7.666, allocations: 29.58 kB / 2.195 GB, free: 111.6 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009996/7.667, allocations: 0.8888 MB / 2.196 GB, free: 111.3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002996/7.667, allocations: 197.5 kB / 2.196 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.403e-05/7.667, allocations: 0 / 2.196 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.976e-05/7.667, allocations: 343.3 kB / 2.197 GB, free: 110.8 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006252/7.668, allocations: 267.4 kB / 2.197 GB, free: 110.8 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008548/7.669, allocations: 0.6869 MB / 2.198 GB, free: 110.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/7.679, allocations: 1.187 MB / 2.199 GB, free: 110.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-05/7.679, allocations: 3.406 kB / 2.199 GB, free: 110.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.01249/7.692, allocations: 1.833 MB / 2.201 GB, free: 110.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001047/7.693, allocations: 4.565 MB / 2.205 GB, free: 105.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.598e-05/7.693, allocations: 14.77 kB / 2.205 GB, free: 105.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.855e-05/7.693, allocations: 21.19 kB / 2.205 GB, free: 105.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001935/7.695, allocations: 249.5 kB / 2.205 GB, free: 105.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.713e-05/7.695, allocations: 24.36 kB / 2.205 GB, free: 105.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002194/7.697, allocations: 98.81 kB / 2.205 GB, free: 105.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000209/7.697, allocations: 57.64 kB / 2.205 GB, free: 105.3 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/7.697, allocations: 5.156 kB / 2.205 GB, free: 105.3 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0117/7.709, allocations: 1.606 MB / 2.207 GB, free: 105.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-05/7.709, allocations: 15.69 kB / 2.207 GB, free: 105.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.812e-05/7.709, allocations: 25.47 kB / 2.207 GB, free: 105.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/7.711, allocations: 236.6 kB / 2.207 GB, free: 105.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.276e-05/7.711, allocations: 23.31 kB / 2.207 GB, free: 105.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/7.713, allocations: 89.81 kB / 2.207 GB, free: 105.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/7.713, allocations: 50.89 kB / 2.207 GB, free: 105.3 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 117 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003818/7.714, allocations: 148.2 kB / 2.208 GB, free: 105.2 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01137/7.725, allocations: 1.45 MB / 2.209 GB, free: 105.1 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002992/7.725, allocations: 162.8 kB / 2.209 GB, free: 105 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01186/7.737, allocations: 1.674 MB / 2.211 GB, free: 104.9 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/7.737, allocations: 11.12 kB / 2.211 GB, free: 104.9 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/7.737, allocations: 0 / 2.211 GB, free: 104.9 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01049/7.748, allocations: 1.524 MB / 2.212 GB, free: 104.6 MB / 0.8386 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.01425/7.762, allocations: 2.714 MB / 2.215 GB, free: 104.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/7.762, allocations: 0 / 2.215 GB, free: 104.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/7.764, allocations: 138.2 kB / 2.215 GB, free: 104.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002405/7.764, allocations: 26.47 kB / 2.215 GB, free: 104.3 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.673e-05/7.764, allocations: 15.69 kB / 2.215 GB, free: 104.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/7.765, allocations: 1.264 MB / 2.216 GB, free: 103.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/7.765, allocations: 3.812 kB / 2.216 GB, free: 103.1 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.012/7.777, allocations: 2.026 MB / 2.218 GB, free: 102.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/7.778, allocations: 317.3 kB / 2.219 GB, free: 102.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003218/7.778, allocations: 11.27 kB / 2.219 GB, free: 102.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/7.78, allocations: 83 kB / 2.219 GB, free: 102.6 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/7.78, allocations: 52.64 kB / 2.219 GB, free: 102.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/7.78, allocations: 25.78 kB / 2.219 GB, free: 102.6 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001903/7.782, allocations: 0.9215 MB / 2.22 GB, free: 102.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.52e-07/7.782, allocations: 0 / 2.22 GB, free: 102.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.005583/7.788, allocations: 0.9831 MB / 2.221 GB, free: 102.3 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01546/7.803, allocations: 3.69 MB / 2.224 GB, free: 101.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003069/7.806, allocations: 1.467 MB / 2.226 GB, free: 100.9 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/7.807, allocations: 2.438 kB / 2.226 GB, free: 100.9 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0009915/7.808, allocations: 440.8 kB / 2.226 GB, free: 100.8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005102/7.813, allocations: 0.6237 MB / 2.227 GB, free: 100.8 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008835/7.822, allocations: 2.718 MB / 2.229 GB, free: 99.99 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/7.823, allocations: 1.403 MB / 2.231 GB, free: 99.25 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.004213/7.827, allocations: 0.5779 MB / 2.231 GB, free: 99.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/7.828, allocations: 0.6966 MB / 2.232 GB, free: 99.16 MB / 0.8386 GB Notification: Performance of SimCode: time 1.333e-06/7.828, allocations: 4 kB / 2.232 GB, free: 99.15 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1943/8.023, allocations: 47.58 MB / 2.278 GB, free: 88.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001554/8.023, allocations: 178.1 kB / 2.279 GB, free: 88.36 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.949/12.97, allocations: 0 / 2.279 GB, free: 88.36 MB / 0.8386 GB