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.DryCoilCounterFlowPControl.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.DryCoilCounterFlowPControl,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.071/4.071, allocations: 433.2 MB / 440.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.207e-05/3.205e-05, allocations: 5.5 kB / 0.5325 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2296, allocations: 98.74 MB / 0.6289 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.438/7.668, allocations: 2.498 GB / 3.127 GB, free: 141.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003274/7.668, allocations: 89.45 kB / 3.127 GB, free: 141.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 11.68/19.35, allocations: 2.224 GB / 5.351 GB, free: 91.83 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.264e-06/19.35, allocations: 0 / 5.351 GB, free: 91.83 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.001355/19.35, allocations: 150.8 kB / 5.351 GB, free: 91.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: 1083 * Number of variables: 1083 Notification: Performance of Generate backend data structure: time 0.02598/19.37, allocations: 5.653 MB / 5.356 GB, free: 89.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/19.37, allocations: 12.38 kB / 5.356 GB, free: 89.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01268/19.39, allocations: 1.338 MB / 5.358 GB, free: 89.35 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02639/19.41, allocations: 7.112 MB / 5.365 GB, free: 88.46 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003027/19.41, allocations: 133.3 kB / 5.365 GB, free: 88.46 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002034/19.42, allocations: 261.5 kB / 5.365 GB, free: 88.46 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01475/19.43, allocations: 4.619 MB / 5.369 GB, free: 88.44 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01842/19.45, allocations: 5.137 MB / 5.374 GB, free: 87.99 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002002/19.45, allocations: 19.23 kB / 5.374 GB, free: 87.98 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001016/19.45, allocations: 7.547 kB / 5.374 GB, free: 87.98 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002854/19.45, allocations: 203.8 kB / 5.375 GB, free: 87.97 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.05515/19.51, allocations: 24.69 MB / 5.399 GB, free: 77.88 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009399/19.52, allocations: 5.045 MB / 5.404 GB, free: 76.21 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0048/19.52, allocations: 2.039 MB / 5.406 GB, free: 76.17 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001546/19.52, allocations: 0.9174 MB / 5.407 GB, free: 75.22 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005324/19.53, allocations: 1.848 MB / 5.408 GB, free: 75.07 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=282): time 7.004e-06/19.53, allocations: 0 / 5.408 GB, free: 75.07 MB / 0.8855 GB Notification: Performance of matching and sorting (n=286): time 0.03883/19.57, allocations: 9.444 MB / 5.418 GB, free: 72.32 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/19.57, allocations: 292.9 kB / 5.418 GB, free: 72 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01065/19.58, allocations: 3.904 MB / 5.422 GB, free: 71.72 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.00093/19.58, allocations: 30.06 kB / 5.422 GB, free: 71.69 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00411/19.58, allocations: 2.494 MB / 5.424 GB, free: 70.87 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001825/19.58, allocations: 0.9554 MB / 5.425 GB, free: 70.23 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003252/19.58, allocations: 6.25 kB / 5.425 GB, free: 70.23 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000299/19.58, allocations: 433.8 kB / 5.426 GB, free: 69.93 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00372/19.59, allocations: 1.403 MB / 5.427 GB, free: 69.92 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004761/19.59, allocations: 2.255 MB / 5.429 GB, free: 69.06 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00559/19.6, allocations: 1.927 MB / 5.431 GB, free: 69.01 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.591e-05/19.6, allocations: 6.344 kB / 5.431 GB, free: 69.01 MB / 0.8855 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.01346/19.61, allocations: 4.164 MB / 5.435 GB, free: 68.63 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001245/19.61, allocations: 5.9 MB / 5.441 GB, free: 62.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001005/19.61, allocations: 14.69 kB / 5.441 GB, free: 62.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009105/19.61, allocations: 196.1 kB / 5.441 GB, free: 62.46 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006015/19.62, allocations: 0.6641 MB / 5.442 GB, free: 62.46 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003997/19.62, allocations: 3.38 MB / 5.445 GB, free: 60.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00968/19.63, allocations: 493.4 kB / 5.445 GB, free: 60.04 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00101/19.64, allocations: 127.5 kB / 5.446 GB, free: 60.04 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/19.64, allocations: 4.375 kB / 5.446 GB, free: 60.04 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01109/19.65, allocations: 3.636 MB / 5.449 GB, free: 59.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-05/19.65, allocations: 14.22 kB / 5.449 GB, free: 59.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008625/19.65, allocations: 200 kB / 5.449 GB, free: 59.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005584/19.65, allocations: 0.6452 MB / 5.45 GB, free: 59.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005573/19.66, allocations: 3.922 MB / 5.454 GB, free: 57.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0094/19.67, allocations: 475 kB / 5.454 GB, free: 57.25 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009745/19.67, allocations: 124.5 kB / 5.454 GB, free: 57.25 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * 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 (354): * Single equations (assignments): 348 * 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.001263/19.67, allocations: 214.6 kB / 5.455 GB, free: 57.11 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.011/19.68, allocations: 3.47 MB / 5.458 GB, free: 56.73 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002248/19.68, allocations: 460.3 kB / 5.458 GB, free: 56.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/19.7, allocations: 3.809 MB / 5.462 GB, free: 56.27 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.09e-05/19.7, allocations: 34.31 kB / 5.462 GB, free: 56.27 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/19.7, allocations: 0 / 5.462 GB, free: 56.27 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01152/19.71, allocations: 3.184 MB / 5.465 GB, free: 55.99 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.03683/19.74, allocations: 9.663 MB / 5.475 GB, free: 51.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.389e-05/19.74, allocations: 5.797 kB / 5.475 GB, free: 51.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007961/19.75, allocations: 0.6573 MB / 5.475 GB, free: 51.89 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008639/19.75, allocations: 144.5 kB / 5.475 GB, free: 51.85 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006977/19.75, allocations: 55.39 kB / 5.475 GB, free: 51.83 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00456/19.76, allocations: 3.257 MB / 5.479 GB, free: 49.03 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.117e-05/19.76, allocations: 3.781 kB / 5.479 GB, free: 49.03 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01976/19.78, allocations: 6.396 MB / 5.485 GB, free: 45.96 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005488/19.78, allocations: 1.09 MB / 5.486 GB, free: 45.33 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001823/19.79, allocations: 35.94 kB / 5.486 GB, free: 45.32 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008025/19.79, allocations: 428.3 kB / 5.486 GB, free: 45.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008451/19.79, allocations: 174.4 kB / 5.487 GB, free: 45.27 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004082/19.8, allocations: 101.7 kB / 5.487 GB, free: 45.25 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.007572/19.8, allocations: 3.025 MB / 5.49 GB, free: 44.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.61e-07/19.8, allocations: 1.531 kB / 5.49 GB, free: 44.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01913/19.82, allocations: 2.782 MB / 5.492 GB, free: 43.87 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 (274): * Single equations (assignments): 266 * 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.02151/19.84, allocations: 10.87 MB / 5.503 GB, free: 36.14 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01413/19.86, allocations: 6.085 MB / 5.509 GB, free: 30.63 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.459e-05/19.86, allocations: 4.781 kB / 5.509 GB, free: 30.62 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004236/19.86, allocations: 1.888 MB / 5.511 GB, free: 28.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0236/19.89, allocations: 2.805 MB / 5.514 GB, free: 27.03 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03435/19.92, allocations: 12.03 MB / 5.525 GB, free: 17.02 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007588/19.93, allocations: 4.231 MB / 5.529 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.02131/19.95, allocations: 3.943 MB / 5.533 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005809/19.95, allocations: 2.236 MB / 5.535 GB, free: 9.332 MB / 0.8855 GB Notification: Performance of SimCode: time 1.763e-06/19.96, allocations: 0 / 5.535 GB, free: 9.332 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.135/21.09, allocations: 166.3 MB / 5.698 GB, free: 94.89 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/21.09, allocations: 188.7 kB / 5.698 GB, free: 94.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/31.4, allocations: 0 / 5.698 GB, free: 94.7 MB / 0.9011 GB