Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Movers.Examples.MoverStages.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.Movers.Examples.MoverStages,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Movers_Examples_MoverStages",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.177/4.177, allocations: 433.2 MB / 440.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.964e-05/2.974e-05, allocations: 3.094 kB / 0.5325 GB, free: 12.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2491, allocations: 98.73 MB / 0.6289 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.291/1.54, allocations: 426.8 MB / 1.046 GB, free: 7.48 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003458/1.541, allocations: 93.25 kB / 1.046 GB, free: 7.438 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 12.81/14.35, allocations: 2.23 GB / 3.276 GB, free: 62.73 MB / 0.8699 GB Notification: Performance of FrontEnd: time 2.875e-06/14.35, allocations: 3.719 kB / 3.276 GB, free: 62.73 MB / 0.8699 GB Notification: Performance of Transformations before backend: time 0.001121/14.36, allocations: 105.2 kB / 3.276 GB, free: 62.71 MB / 0.8699 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 513 * Number of variables: 513 Notification: Performance of Generate backend data structure: time 0.01627/14.37, allocations: 3.95 MB / 3.28 GB, free: 60.34 MB / 0.8699 GB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/14.37, allocations: 11.16 kB / 3.28 GB, free: 60.34 MB / 0.8699 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01503/14.39, allocations: 1.342 MB / 3.281 GB, free: 59.98 MB / 0.8699 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1074/14.49, allocations: 30.12 MB / 3.31 GB, free: 36.32 MB / 0.8699 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002641/14.5, allocations: 68 kB / 3.31 GB, free: 36.25 MB / 0.8699 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001374/14.5, allocations: 144 kB / 3.31 GB, free: 36.11 MB / 0.8699 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007684/14.5, allocations: 2.226 MB / 3.313 GB, free: 33.88 MB / 0.8699 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009533/14.51, allocations: 2.491 MB / 3.315 GB, free: 31.25 MB / 0.8699 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.33e-05/14.51, allocations: 7.938 kB / 3.315 GB, free: 31.25 MB / 0.8699 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004905/14.51, allocations: 0 / 3.315 GB, free: 31.25 MB / 0.8699 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.981e-05/14.51, allocations: 55.95 kB / 3.315 GB, free: 31.19 MB / 0.8699 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.03655/14.55, allocations: 12.68 MB / 3.328 GB, free: 18.1 MB / 0.8699 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005635/14.56, allocations: 2.134 MB / 3.33 GB, free: 15.96 MB / 0.8699 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002245/14.56, allocations: 0.905 MB / 3.331 GB, free: 15.05 MB / 0.8699 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01451/14.57, allocations: 5.088 MB / 3.335 GB, free: 9.668 MB / 0.8699 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002494/14.58, allocations: 1.097 MB / 3.337 GB, free: 8.559 MB / 0.8699 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00303/14.58, allocations: 166.5 kB / 3.337 GB, free: 8.395 MB / 0.8699 GB Notification: Performance of pre-optimization done (n=88): time 1.422e-05/14.58, allocations: 0 / 3.337 GB, free: 8.395 MB / 0.8699 GB Notification: Performance of matching and sorting (n=88): time 0.01279/14.59, allocations: 2.725 MB / 3.339 GB, free: 5.645 MB / 0.8699 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/14.59, allocations: 60.19 kB / 3.339 GB, free: 5.574 MB / 0.8699 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01464/14.61, allocations: 4.618 MB / 3.344 GB, free: 0.9648 MB / 0.8699 GB Notification: Performance of collectPreVariables (initialization): time 0.0007892/14.61, allocations: 37.7 kB / 3.344 GB, free: 0.9219 MB / 0.8699 GB Notification: Performance of collectInitialEqns (initialization): time 0.004435/14.61, allocations: 2.122 MB / 3.346 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009492/14.61, allocations: 299.6 kB / 3.346 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003105/14.61, allocations: 0 / 3.346 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0003367/14.61, allocations: 393.8 kB / 3.347 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002996/14.62, allocations: 1.043 MB / 3.348 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004455/14.62, allocations: 2.046 MB / 3.35 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006848/14.63, allocations: 1.468 MB / 3.351 GB, free: 9.039 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.73e-05/14.63, allocations: 8 kB / 3.351 GB, free: 9.031 MB / 0.8855 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01608/14.64, allocations: 3.628 MB / 3.355 GB, free: 5.379 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.8/15.44, allocations: 13.44 MB / 3.368 GB, free: 79.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001047/15.45, allocations: 31.58 kB / 3.368 GB, free: 79.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001548/15.45, allocations: 342.4 kB / 3.368 GB, free: 79.38 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006095/15.45, allocations: 0.5323 MB / 3.369 GB, free: 79.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00867/15.46, allocations: 6.013 MB / 3.375 GB, free: 74.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005793/15.47, allocations: 150.7 kB / 3.375 GB, free: 74.97 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/15.47, allocations: 214 kB / 3.375 GB, free: 74.97 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/15.47, allocations: 3.938 kB / 3.375 GB, free: 74.97 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01387/15.48, allocations: 2.798 MB / 3.378 GB, free: 74.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002112/15.48, allocations: 27.78 kB / 3.378 GB, free: 74.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001502/15.48, allocations: 340 kB / 3.378 GB, free: 74.89 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004781/15.49, allocations: 0.5758 MB / 3.379 GB, free: 74.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003205/15.49, allocations: 2.563 MB / 3.381 GB, free: 72.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005674/15.5, allocations: 135 kB / 3.381 GB, free: 72.83 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001191/15.5, allocations: 203.7 kB / 3.381 GB, free: 72.83 MB / 0.8855 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_Nrpm.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_dp.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_y.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump_m_flow.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 130 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.integerTable.y,integerTable.y,$PRE.integerTable.nextTime,integerTable.nextTime,$PRE.integerTable.index,integerTable.index) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 201 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001572/15.5, allocations: 204.7 kB / 3.382 GB, free: 72.72 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01213/15.51, allocations: 2.024 MB / 3.384 GB, free: 72.65 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002237/15.52, allocations: 400 kB / 3.384 GB, free: 72.54 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01347/15.53, allocations: 2.568 MB / 3.386 GB, free: 72.37 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-05/15.53, allocations: 12.77 kB / 3.386 GB, free: 72.37 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/15.53, allocations: 0.6562 kB / 3.386 GB, free: 72.37 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.399e-05/15.53, allocations: 14.69 kB / 3.386 GB, free: 72.36 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.02298/15.55, allocations: 5.522 MB / 3.392 GB, free: 71.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.671e-05/15.55, allocations: 1.188 kB / 3.392 GB, free: 71.93 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00237/15.55, allocations: 208.5 kB / 3.392 GB, free: 71.93 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001371/15.56, allocations: 357.2 kB / 3.392 GB, free: 71.88 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004336/15.56, allocations: 30.17 kB / 3.392 GB, free: 71.88 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004566/15.56, allocations: 4.989 MB / 3.397 GB, free: 67.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/15.56, allocations: 0 / 3.397 GB, free: 67.59 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008834/15.57, allocations: 2.284 MB / 3.4 GB, free: 67.04 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003603/15.57, allocations: 0.8889 MB / 3.4 GB, free: 66.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001838/15.58, allocations: 2.141 kB / 3.4 GB, free: 66.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005061/15.58, allocations: 145.2 kB / 3.401 GB, free: 66.72 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005194/15.58, allocations: 83.02 kB / 3.401 GB, free: 66.72 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003733/15.58, allocations: 80.05 kB / 3.401 GB, free: 66.72 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.01071/15.59, allocations: 3.458 MB / 3.404 GB, free: 66.54 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.032e-06/15.59, allocations: 0 / 3.404 GB, free: 66.54 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.01237/15.6, allocations: 1.864 MB / 3.406 GB, free: 66.44 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,integerTable.y,integerTable.nextTime,integerTable.index) * Number of discrete states: 2 (integerTable.nextTime,integerTable.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {1 4,1 4,1 1,1 4,1 4,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01368/15.62, allocations: 4.791 MB / 3.411 GB, free: 64.93 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01273/15.63, allocations: 4.054 MB / 3.415 GB, free: 64.76 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/15.63, allocations: 3.156 kB / 3.415 GB, free: 64.76 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002914/15.63, allocations: 0.7907 MB / 3.415 GB, free: 64.75 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01515/15.65, allocations: 1.935 MB / 3.417 GB, free: 64.73 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02765/15.68, allocations: 6.424 MB / 3.423 GB, free: 63.29 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006437/15.68, allocations: 2.662 MB / 3.426 GB, free: 62.51 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.01714/15.7, allocations: 2.096 MB / 3.428 GB, free: 62.47 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004418/15.71, allocations: 1.793 MB / 3.43 GB, free: 62.46 MB / 0.8855 GB Notification: Performance of SimCode: time 1.573e-06/15.71, allocations: 0 / 3.43 GB, free: 62.46 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4105/16.12, allocations: 132.8 MB / 3.56 GB, free: 56.13 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/16.12, allocations: 171.3 kB / 3.56 GB, free: 55.93 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/26.37, allocations: 3 kB / 3.56 GB, free: 55.93 MB / 0.8855 GB