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/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.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.638/4.638, allocations: 433.2 MB / 440.8 MB, free: 10.52 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.236e-05/2.252e-05, allocations: 0 / 0.5325 GB, free: 1.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6682/0.6683, allocations: 98.71 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.082/7.75, allocations: 2.229 GB / 2.858 GB, free: 141.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/7.751, allocations: 89.08 kB / 2.858 GB, free: 141.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.518/12.27, allocations: 0.7728 GB / 3.631 GB, free: 126.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.604e-06/12.27, allocations: 3.75 kB / 3.631 GB, free: 126.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0004357/12.27, allocations: 39.97 kB / 3.631 GB, free: 126.1 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.009837/12.28, allocations: 1.877 MB / 3.633 GB, free: 125.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.86e-05/12.28, allocations: 17.52 kB / 3.633 GB, free: 125.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007274/12.29, allocations: 469.2 kB / 3.633 GB, free: 125.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008414/12.29, allocations: 1.87 MB / 3.635 GB, free: 125.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.556e-05/12.3, allocations: 34.91 kB / 3.635 GB, free: 125.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005423/12.3, allocations: 64.75 kB / 3.635 GB, free: 125.2 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003243/12.3, allocations: 0.8081 MB / 3.636 GB, free: 125.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003554/12.3, allocations: 1.01 MB / 3.637 GB, free: 125 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.05e-05/12.3, allocations: 3.266 kB / 3.637 GB, free: 125 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/12.3, allocations: 7.781 kB / 3.637 GB, free: 125 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.366e-05/12.3, allocations: 32.56 kB / 3.637 GB, free: 125 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.01206/12.31, allocations: 4.754 MB / 3.642 GB, free: 122.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/12.32, allocations: 0.8607 MB / 3.643 GB, free: 122.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/12.32, allocations: 366.5 kB / 3.643 GB, free: 122.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002921/12.32, allocations: 107.3 kB / 3.643 GB, free: 122.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/12.32, allocations: 424.6 kB / 3.643 GB, free: 122.5 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001078/12.32, allocations: 64.64 kB / 3.643 GB, free: 122.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=71): time 7.754e-06/12.32, allocations: 2.75 kB / 3.643 GB, free: 122.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=71): time 0.003341/12.32, allocations: 0.8362 MB / 3.644 GB, free: 122.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.21e-05/12.32, allocations: 191.8 kB / 3.644 GB, free: 122.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002165/12.33, allocations: 0.8978 MB / 3.645 GB, free: 122 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003272/12.33, allocations: 29.64 kB / 3.645 GB, free: 122 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008896/12.33, allocations: 0.6635 MB / 3.646 GB, free: 121.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004702/12.33, allocations: 240.4 kB / 3.646 GB, free: 121.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.8e-05/12.33, allocations: 3.375 kB / 3.646 GB, free: 121.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001091/12.33, allocations: 342.2 kB / 3.647 GB, free: 121.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007652/12.33, allocations: 298.4 kB / 3.647 GB, free: 121.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009713/12.33, allocations: 0.5888 MB / 3.647 GB, free: 121.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/12.33, allocations: 402.9 kB / 3.648 GB, free: 121.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.812e-05/12.33, allocations: 7.422 kB / 3.648 GB, free: 121.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003502/12.34, allocations: 1.041 MB / 3.649 GB, free: 120.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004931/12.34, allocations: 2.075 MB / 3.651 GB, free: 118.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-05/12.34, allocations: 6.203 kB / 3.651 GB, free: 118.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005841/12.34, allocations: 97.95 kB / 3.651 GB, free: 118.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/12.34, allocations: 202.5 kB / 3.651 GB, free: 118.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/12.34, allocations: 1.284 MB / 3.652 GB, free: 117.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002289/12.34, allocations: 79.44 kB / 3.652 GB, free: 117.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002233/12.34, allocations: 53.31 kB / 3.653 GB, free: 117.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/12.34, allocations: 5.281 kB / 3.653 GB, free: 117.7 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002877/12.35, allocations: 0.8459 MB / 3.653 GB, free: 117.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/12.35, allocations: 6.75 kB / 3.653 GB, free: 117.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007174/12.35, allocations: 104.9 kB / 3.653 GB, free: 117.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/12.35, allocations: 179.4 kB / 3.654 GB, free: 117.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00575/12.35, allocations: 2.608 MB / 3.656 GB, free: 116 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/12.36, allocations: 82.98 kB / 3.656 GB, free: 116 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/12.36, allocations: 46.38 kB / 3.656 GB, free: 116 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.000377/12.36, allocations: 129.5 kB / 3.656 GB, free: 115.9 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002201/12.36, allocations: 0.7666 MB / 3.657 GB, free: 115.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002391/12.36, allocations: 131.4 kB / 3.657 GB, free: 115.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002522/12.36, allocations: 0.8405 MB / 3.658 GB, free: 115.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/12.36, allocations: 5.188 kB / 3.658 GB, free: 115.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/12.36, allocations: 3.375 kB / 3.658 GB, free: 115.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001758/12.36, allocations: 0.7592 MB / 3.659 GB, free: 115.4 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.005723/12.37, allocations: 2.07 MB / 3.661 GB, free: 115 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/12.37, allocations: 3.906 kB / 3.661 GB, free: 115 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/12.37, allocations: 169.1 kB / 3.661 GB, free: 115 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002325/12.37, allocations: 58.69 kB / 3.661 GB, free: 115 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.331e-05/12.37, allocations: 13.06 kB / 3.661 GB, free: 115 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006847/12.37, allocations: 1.198 MB / 3.662 GB, free: 113.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/12.37, allocations: 3.188 kB / 3.662 GB, free: 113.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003048/12.37, allocations: 1.34 MB / 3.664 GB, free: 113.5 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007985/12.38, allocations: 279.6 kB / 3.664 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002417/12.38, allocations: 7.781 kB / 3.664 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/12.38, allocations: 101.3 kB / 3.664 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/12.38, allocations: 47.72 kB / 3.664 GB, free: 113.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.585e-05/12.38, allocations: 30.52 kB / 3.664 GB, free: 113.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001292/12.38, allocations: 0.6766 MB / 3.665 GB, free: 113.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.41e-07/12.38, allocations: 0 / 3.665 GB, free: 113.2 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00428/12.38, allocations: 1.018 MB / 3.666 GB, free: 113.2 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.008402/12.39, allocations: 4.93 MB / 3.671 GB, free: 111.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003717/12.4, allocations: 1.537 MB / 3.672 GB, free: 111 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/12.4, allocations: 0 / 3.672 GB, free: 111 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009222/12.4, allocations: 353.8 kB / 3.672 GB, free: 111 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004544/12.4, allocations: 0.577 MB / 3.673 GB, free: 111 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006752/12.41, allocations: 2.424 MB / 3.675 GB, free: 110.3 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009784/12.41, allocations: 1.325 MB / 3.677 GB, free: 109.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003123/12.41, allocations: 462.9 kB / 3.677 GB, free: 109.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009901/12.41, allocations: 0.5458 MB / 3.678 GB, free: 109.5 MB / 0.823 GB Notification: Performance of SimCode: time 1.693e-06/12.41, allocations: 0 / 3.678 GB, free: 109.5 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1585/12.57, allocations: 56.89 MB / 3.733 GB, free: 107.8 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002459/12.57, allocations: 172.1 kB / 3.733 GB, free: 107.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.539/18.11, allocations: 0 / 3.733 GB, free: 107.6 MB / 0.823 GB