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.ClosedLoop_y.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.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.351/4.351, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.016e-05/4.031e-05, allocations: 4.938 kB / 0.5383 GB, free: 10.34 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2309, allocations: 98.74 MB / 0.6347 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.287/7.518, allocations: 2.23 GB / 2.865 GB, free: 69.63 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/7.519, allocations: 89.08 kB / 2.865 GB, free: 69.59 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.666/12.18, allocations: 0.7819 GB / 3.647 GB, free: 128.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.034e-06/12.18, allocations: 0 / 3.647 GB, free: 128.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003087/12.19, allocations: 42.28 kB / 3.647 GB, free: 128.7 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.007296/12.19, allocations: 1.883 MB / 3.648 GB, free: 127.9 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/12.19, allocations: 11.84 kB / 3.648 GB, free: 127.9 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006057/12.19, allocations: 152.6 kB / 3.649 GB, free: 127.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005435/12.2, allocations: 463.3 kB / 3.649 GB, free: 127.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007619/12.21, allocations: 1.876 MB / 3.651 GB, free: 127.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/12.21, allocations: 79.12 kB / 3.651 GB, free: 127.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003767/12.21, allocations: 110.1 kB / 3.651 GB, free: 127.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003074/12.21, allocations: 1.148 MB / 3.652 GB, free: 127.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.132e-05/12.21, allocations: 0 / 3.652 GB, free: 127.2 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001798/12.21, allocations: 43.5 kB / 3.652 GB, free: 127.2 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.387e-05/12.21, allocations: 34.5 kB / 3.652 GB, free: 127.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002406/12.21, allocations: 0.8147 MB / 3.653 GB, free: 127.2 MB / 0.823 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.01116/12.22, allocations: 4.977 MB / 3.658 GB, free: 125 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002407/12.23, allocations: 0.8348 MB / 3.659 GB, free: 124.9 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008698/12.23, allocations: 359.9 kB / 3.659 GB, free: 124.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002899/12.23, allocations: 108.2 kB / 3.659 GB, free: 124.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009975/12.23, allocations: 438.8 kB / 3.66 GB, free: 124.7 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001034/12.23, allocations: 90.45 kB / 3.66 GB, free: 124.7 MB / 0.823 GB Notification: Performance of pre-optimization done (n=71): time 5.27e-06/12.23, allocations: 0 / 3.66 GB, free: 124.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=71): time 0.002462/12.23, allocations: 0.7814 MB / 3.66 GB, free: 124.6 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.132e-05/12.23, allocations: 193.8 kB / 3.661 GB, free: 124.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0021/12.23, allocations: 1.022 MB / 3.662 GB, free: 124.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002771/12.23, allocations: 41.52 kB / 3.662 GB, free: 124.1 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007683/12.24, allocations: 0.6771 MB / 3.662 GB, free: 124 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003569/12.24, allocations: 240.6 kB / 3.663 GB, free: 123.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.108e-05/12.24, allocations: 17.97 kB / 3.663 GB, free: 123.8 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.668e-05/12.24, allocations: 342.6 kB / 3.663 GB, free: 123.5 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007826/12.24, allocations: 289 kB / 3.663 GB, free: 123.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009654/12.24, allocations: 0.575 MB / 3.664 GB, free: 123.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009276/12.24, allocations: 408.7 kB / 3.664 GB, free: 123.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.415e-06/12.24, allocations: 3.031 kB / 3.664 GB, free: 123.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002847/12.24, allocations: 1.05 MB / 3.665 GB, free: 123 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004898/12.24, allocations: 2.075 MB / 3.667 GB, free: 120.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.278e-05/12.24, allocations: 11.31 kB / 3.667 GB, free: 120.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005122/12.24, allocations: 79.56 kB / 3.667 GB, free: 120.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/12.24, allocations: 202.3 kB / 3.667 GB, free: 120.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008954/12.25, allocations: 1.2 MB / 3.669 GB, free: 119.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002315/12.25, allocations: 105.9 kB / 3.669 GB, free: 119.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002196/12.25, allocations: 55.72 kB / 3.669 GB, free: 119.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/12.25, allocations: 3.75 kB / 3.669 GB, free: 119.7 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002816/12.25, allocations: 0.941 MB / 3.67 GB, free: 119.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.043e-05/12.25, allocations: 12.59 kB / 3.67 GB, free: 119.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007351/12.25, allocations: 106 kB / 3.67 GB, free: 119.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/12.25, allocations: 178.2 kB / 3.67 GB, free: 119.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005897/12.26, allocations: 2.685 MB / 3.673 GB, free: 117.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/12.26, allocations: 97.88 kB / 3.673 GB, free: 117.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/12.26, allocations: 42.75 kB / 3.673 GB, free: 117.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 94 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004047/12.26, allocations: 166.7 kB / 3.673 GB, free: 117.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003363/12.26, allocations: 138.4 kB / 3.673 GB, free: 117.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002717/12.27, allocations: 0.8778 MB / 3.674 GB, free: 117.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/12.27, allocations: 11.77 kB / 3.674 GB, free: 117.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/12.27, allocations: 0 / 3.674 GB, free: 117.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001821/12.27, allocations: 0.7883 MB / 3.675 GB, free: 117.5 MB / 0.823 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.005953/12.27, allocations: 2.226 MB / 3.677 GB, free: 117 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/12.27, allocations: 3.781 kB / 3.677 GB, free: 117 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/12.27, allocations: 160.3 kB / 3.677 GB, free: 117 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003993/12.27, allocations: 85.22 kB / 3.677 GB, free: 117 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.04e-05/12.28, allocations: 20.42 kB / 3.677 GB, free: 117 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007181/12.28, allocations: 1.199 MB / 3.678 GB, free: 115.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/12.28, allocations: 7.25 kB / 3.678 GB, free: 115.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003302/12.28, allocations: 1.375 MB / 3.68 GB, free: 115.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/12.28, allocations: 286.3 kB / 3.68 GB, free: 115.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002744/12.28, allocations: 20.22 kB / 3.68 GB, free: 115.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001621/12.28, allocations: 103.2 kB / 3.68 GB, free: 115.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/12.28, allocations: 59.14 kB / 3.68 GB, free: 115.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-05/12.28, allocations: 22.05 kB / 3.68 GB, free: 115.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001717/12.28, allocations: 0.7896 MB / 3.681 GB, free: 115.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 8.12e-07/12.28, allocations: 3.828 kB / 3.681 GB, free: 115.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005129/12.29, allocations: 1.114 MB / 3.682 GB, free: 115.1 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (fan.vol.dynBal.U,fan.vol.dynBal.m,fan.vol.dynBal.mXi[1],fan.filter.x[1],fan.filter.x[2],conPID.I.y) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0092/12.3, allocations: 4.841 MB / 3.687 GB, free: 113.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004424/12.3, allocations: 1.588 MB / 3.688 GB, free: 112.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/12.3, allocations: 3.391 kB / 3.688 GB, free: 112.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001213/12.3, allocations: 364.6 kB / 3.689 GB, free: 112.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005337/12.31, allocations: 0.6414 MB / 3.689 GB, free: 112.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008243/12.32, allocations: 2.486 MB / 3.692 GB, free: 112 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/12.32, allocations: 1.332 MB / 3.693 GB, free: 111.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003621/12.32, allocations: 490 kB / 3.693 GB, free: 111.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/12.32, allocations: 0.5476 MB / 3.694 GB, free: 111.3 MB / 0.823 GB Notification: Performance of SimCode: time 1.332e-06/12.32, allocations: 0 / 3.694 GB, free: 111.3 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2429/12.57, allocations: 82.35 MB / 3.774 GB, free: 73.82 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002807/12.57, allocations: 220.9 kB / 3.775 GB, free: 73.59 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.945/19.51, allocations: 0 / 3.775 GB, free: 73.59 MB / 0.823 GB