Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.ControlledFlowMachine,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01607/0.01608, allocations: 106.4 kB / 15.06 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.002136/0.002136, allocations: 180.4 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.173/2.173, allocations: 194.6 MB / 211.3 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.624/2.624, allocations: 236.1 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005321/0.0005322, allocations: 12 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7271/0.7277, allocations: 98.71 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.ControlledFlowMachine): time 1.286/2.014, allocations: 300.4 MB / 0.9768 GB, free: 7.723 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.09673/2.11, allocations: 45.34 MB / 1.021 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009806/2.12, allocations: 152.5 kB / 1.021 GB, free: 6.945 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0133/2.134, allocations: 2.633 MB / 1.024 GB, free: 6.613 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.03729/2.171, allocations: 7.619 MB / 1.031 GB, free: 5.012 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.02609/2.197, allocations: 5.325 MB / 1.036 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.02226/2.219, allocations: 7.645 MB / 1.044 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009934/2.229, allocations: 3.468 MB / 1.047 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02077/2.25, allocations: 5.386 MB / 1.053 GB, free: 0.6211 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00909/2.259, allocations: 2.769 MB / 1.055 GB, free: 124 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.00285/2.262, allocations: 239.2 kB / 1.055 GB, free: 124 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01764/2.28, allocations: 3.138 MB / 1.059 GB, free: 0 / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.006366/2.286, allocations: 2.132 MB / 1.061 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.004877/2.291, allocations: 1.374 MB / 1.062 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01936/2.311, allocations: 8.391 MB / 1.07 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/2.311, allocations: 0 / 1.07 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.617e-06/2.311, allocations: 0 / 1.07 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0003665/2.311, allocations: 0 / 1.07 GB, free: 7.363 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 752 * Number of variables: 752 Notification: Performance of Generate backend data structure: time 0.026/2.337, allocations: 6.918 MB / 1.077 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/2.337, allocations: 8.031 kB / 1.077 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001769/2.339, allocations: 414 kB / 1.077 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01416/2.353, allocations: 1.455 MB / 1.079 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02953/2.383, allocations: 10.93 MB / 1.089 GB, free: 8.008 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004497/2.383, allocations: 262.3 kB / 1.09 GB, free: 7.859 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001796/2.385, allocations: 351.7 kB / 1.09 GB, free: 7.625 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01475/2.4, allocations: 3.958 MB / 1.094 GB, free: 4.848 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001456/2.4, allocations: 10.61 kB / 1.094 GB, free: 4.84 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000913/2.401, allocations: 121.7 kB / 1.094 GB, free: 4.812 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001749/2.401, allocations: 109 kB / 1.094 GB, free: 4.707 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01126/2.413, allocations: 2.821 MB / 1.097 GB, free: 2.82 MB / 0.7605 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04411/2.457, allocations: 18.01 MB / 1.114 GB, free: 1.316 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007992/2.465, allocations: 2.125 MB / 1.117 GB, free: 15.18 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003414/2.465, allocations: 50.75 kB / 1.117 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005177/2.47, allocations: 1.618 MB / 1.118 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004126/2.475, allocations: 385.3 kB / 1.119 GB, free: 13.14 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=176): time 1.105e-05/2.475, allocations: 4 kB / 1.119 GB, free: 13.14 MB / 0.7917 GB Notification: Performance of matching and sorting (n=176): time 0.01642/2.491, allocations: 3.615 MB / 1.122 GB, free: 9.473 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/2.491, allocations: 157.2 kB / 1.122 GB, free: 9.293 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02157/2.513, allocations: 8.564 MB / 1.131 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.001007/2.514, allocations: 88.83 kB / 1.131 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.005195/2.519, allocations: 2.698 MB / 1.133 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.00157/2.521, allocations: 0.6147 MB / 1.134 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004265/2.521, allocations: 48 kB / 1.134 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0003872/2.522, allocations: 428 kB / 1.134 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004283/2.526, allocations: 1.259 MB / 1.136 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005684/2.532, allocations: 2.463 MB / 1.138 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005257/2.537, allocations: 1.606 MB / 1.14 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.112e-05/2.537, allocations: 12 kB / 1.14 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.015/2.552, allocations: 4.262 MB / 1.144 GB, free: 2.926 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.006194/2.558, allocations: 15.08 MB / 1.158 GB, free: 2.742 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001525/2.559, allocations: 32 kB / 1.158 GB, free: 2.711 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001733/2.56, allocations: 288.4 kB / 1.159 GB, free: 2.426 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006498/2.567, allocations: 0.6404 MB / 1.159 GB, free: 1.824 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005531/2.572, allocations: 3.746 MB / 1.163 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007984/2.581, allocations: 325 kB / 1.163 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001109/2.582, allocations: 240 kB / 1.164 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/2.582, allocations: 4 kB / 1.164 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01508/2.597, allocations: 4.63 MB / 1.168 GB, free: 8.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001395/2.597, allocations: 29 kB / 1.168 GB, free: 8.953 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003192/2.6, allocations: 0.6681 MB / 1.169 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00532/2.606, allocations: 0.6274 MB / 1.169 GB, free: 7.695 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02061/2.626, allocations: 8.719 MB / 1.178 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007946/2.634, allocations: 315.2 kB / 1.178 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001056/2.635, allocations: 208 kB / 1.178 GB, free: 14.14 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 312 * Array equations: 5 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.005426/2.641, allocations: 1.551 MB / 1.18 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001979/2.643, allocations: 0.5244 MB / 1.18 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/2.655, allocations: 2.903 MB / 1.183 GB, free: 9.176 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.213e-05/2.655, allocations: 20 kB / 1.183 GB, free: 9.156 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/2.655, allocations: 0 / 1.183 GB, free: 9.156 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007896/2.663, allocations: 2.454 MB / 1.186 GB, free: 6.617 MB / 0.8542 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02574/2.689, allocations: 7.125 MB / 1.193 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.071e-05/2.689, allocations: 4 kB / 1.193 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004841/2.694, allocations: 0.491 MB / 1.193 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001191/2.695, allocations: 261.4 kB / 1.193 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000502/2.695, allocations: 63.97 kB / 1.193 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003597/2.699, allocations: 3.488 MB / 1.197 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/2.699, allocations: 4.031 kB / 1.197 GB, free: 11.01 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01338/2.712, allocations: 4.391 MB / 1.201 GB, free: 6.52 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003739/2.716, allocations: 0.861 MB / 1.202 GB, free: 5.633 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001802/2.718, allocations: 47.94 kB / 1.202 GB, free: 5.586 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006612/2.725, allocations: 320.1 kB / 1.202 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006467/2.725, allocations: 124.8 kB / 1.202 GB, free: 5.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003349/2.726, allocations: 91.95 kB / 1.203 GB, free: 5.07 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.01503/2.741, allocations: 6.18 MB / 1.209 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.012e-06/2.741, allocations: 0 / 1.209 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0141/2.755, allocations: 2.587 MB / 1.211 GB, free: 12.31 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 14 (fan1.vol.dynBal.U,fan1.vol.dynBal.m,fan1.vol.dynBal.mXi[1],fan1.filter.x[1],fan1.filter.x[2],fan3.vol.dynBal.U,fan3.vol.dynBal.m,fan3.vol.dynBal.mXi[1],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (174): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01713/2.772, allocations: 5.793 MB / 1.217 GB, free: 6.488 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02086/2.793, allocations: 5.711 MB / 1.222 GB, free: 0.9297 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.506e-05/2.793, allocations: 5.625 kB / 1.222 GB, free: 0.9258 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004746/2.798, allocations: 1.163 MB / 1.223 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02404/2.822, allocations: 3.181 MB / 1.227 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04829/2.87, allocations: 35.67 MB / 1.261 GB, free: 8.094 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007773/2.878, allocations: 3.447 MB / 1.265 GB, free: 4.621 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.01261/2.891, allocations: 1.485 MB / 1.266 GB, free: 3.133 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007076/2.898, allocations: 2.55 MB / 1.269 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of SimCode: time 2.084e-06/2.898, allocations: 0 / 1.269 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.069/3.967, allocations: 169.8 MB / 1.434 GB, free: 258.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003173/3.967, allocations: 260.7 kB / 1.435 GB, free: 258.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/15.76, allocations: 4 kB / 1.435 GB, free: 258.4 MB / 0.9323 GB