Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Examples.ClosedLoop_y.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.ClosedLoop_y,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Movers_Examples_ClosedLoop_y",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.009854/0.009859, allocations: 88.41 kB / 15.04 MB, free: 6.062 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001214/0.001214, allocations: 170.8 kB / 15.92 MB, free: 6.008 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.014/2.014, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.621/2.621, allocations: 252.8 MB / 0.511 GB, free: 8.324 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005725/0.0005725, allocations: 10.22 kB / 0.6243 GB, free: 28.48 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2181, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.ClosedLoop_y): time 0.911/1.129, allocations: 170.5 MB / 0.8946 GB, free: 4.574 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02905/1.158, allocations: 14.7 MB / 0.9089 GB, free: 4.312 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002539/1.161, allocations: 50.06 kB / 0.909 GB, free: 4.312 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.00374/1.165, allocations: 0.7659 MB / 0.9097 GB, free: 4.312 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.009313/1.174, allocations: 2.117 MB / 0.9118 GB, free: 4.273 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01039/1.184, allocations: 2.337 MB / 0.9141 GB, free: 4.223 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005765/1.19, allocations: 2.165 MB / 0.9162 GB, free: 4.219 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002405/1.193, allocations: 1.07 MB / 0.9172 GB, free: 4.082 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005072/1.198, allocations: 1.481 MB / 0.9187 GB, free: 4.066 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00209/1.2, allocations: 0.7433 MB / 0.9194 GB, free: 3.938 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003875/1.2, allocations: 60.53 kB / 0.9195 GB, free: 3.938 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00496/1.205, allocations: 1.268 MB / 0.9207 GB, free: 3.684 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001146/1.207, allocations: 454 kB / 0.9211 GB, free: 3.566 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001005/1.208, allocations: 358.2 kB / 0.9215 GB, free: 19.54 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004727/1.212, allocations: 2.265 MB / 0.9237 GB, free: 18.37 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/1.212, allocations: 0 / 0.9237 GB, free: 18.37 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.726e-06/1.212, allocations: 0 / 0.9237 GB, free: 18.37 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.199e-05/1.212, allocations: 0 / 0.9237 GB, free: 18.37 MB / 0.6823 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.005874/1.218, allocations: 1.911 MB / 0.9256 GB, free: 17.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/1.218, allocations: 8.031 kB / 0.9256 GB, free: 17.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005254/1.219, allocations: 151.3 kB / 0.9257 GB, free: 17.04 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004354/1.223, allocations: 455.3 kB / 0.9261 GB, free: 16.85 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004467/1.228, allocations: 1.319 MB / 0.9274 GB, free: 16.21 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/1.228, allocations: 79.94 kB / 0.9275 GB, free: 16.21 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003186/1.228, allocations: 108.5 kB / 0.9276 GB, free: 16.21 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003355/1.232, allocations: 1.169 MB / 0.9288 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.697e-05/1.232, allocations: 2.531 kB / 0.9288 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/1.232, allocations: 44.28 kB / 0.9288 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.438e-05/1.232, allocations: 38.56 kB / 0.9288 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00318/1.235, allocations: 0.8814 MB / 0.9297 GB, free: 15.69 MB / 0.6823 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.01008/1.245, allocations: 4.877 MB / 0.9345 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002892/1.248, allocations: 0.7706 MB / 0.9352 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/1.248, allocations: 24.16 kB / 0.9352 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001438/1.25, allocations: 456.1 kB / 0.9357 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008366/1.251, allocations: 82.41 kB / 0.9357 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 3.837e-06/1.251, allocations: 0 / 0.9357 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.004952/1.256, allocations: 1.214 MB / 0.9369 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.984e-05/1.256, allocations: 141.6 kB / 0.9371 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00219/1.258, allocations: 1.174 MB / 0.9382 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002367/1.258, allocations: 42.48 kB / 0.9383 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000725/1.259, allocations: 0.6685 MB / 0.9389 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003436/1.259, allocations: 244.6 kB / 0.9391 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.613e-05/1.26, allocations: 16.22 kB / 0.9392 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001534/1.26, allocations: 340.6 kB / 0.9395 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/1.261, allocations: 338.9 kB / 0.9398 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/1.262, allocations: 0.5848 MB / 0.9404 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/1.264, allocations: 438.7 kB / 0.9408 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.027e-05/1.264, allocations: 1.594 kB / 0.9408 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.007015/1.271, allocations: 1.151 MB / 0.9419 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001382/1.273, allocations: 2.162 MB / 0.944 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.955e-05/1.273, allocations: 10.08 kB / 0.944 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/1.274, allocations: 88.5 kB / 0.9441 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002596/1.277, allocations: 191.8 kB / 0.9443 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002028/1.279, allocations: 1.219 MB / 0.9455 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003014/1.282, allocations: 93.86 kB / 0.9456 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002436/1.282, allocations: 46.23 kB / 0.9456 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/1.282, allocations: 6.406 kB / 0.9456 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005444/1.288, allocations: 1.056 MB / 0.9467 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.431e-05/1.288, allocations: 4.969 kB / 0.9467 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001556/1.289, allocations: 157.3 kB / 0.9468 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002583/1.292, allocations: 178 kB / 0.947 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/1.303, allocations: 2.88 MB / 0.9498 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003112/1.306, allocations: 89.81 kB / 0.9499 GB, free: 3.992 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003684/1.306, allocations: 43.36 kB / 0.9499 GB, free: 3.988 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 () * Number of clocked 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.001834/1.308, allocations: 473.7 kB / 0.9504 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006051/1.309, allocations: 137.7 kB / 0.9505 GB, free: 3.699 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005627/1.315, allocations: 0.9229 MB / 0.9514 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.968e-05/1.315, allocations: 6.797 kB / 0.9514 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.315, allocations: 6.844 kB / 0.9514 GB, free: 3.461 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004521/1.319, allocations: 0.8258 MB / 0.9522 GB, free: 3.172 MB / 0.6823 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.01103/1.33, allocations: 2.219 MB / 0.9544 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/1.33, allocations: 0 / 0.9544 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002568/1.333, allocations: 154.6 kB / 0.9545 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007534/1.334, allocations: 92.12 kB / 0.9546 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000187/1.334, allocations: 30.09 kB / 0.9547 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001389/1.335, allocations: 1.185 MB / 0.9558 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.486e-05/1.335, allocations: 10.95 kB / 0.9558 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007026/1.342, allocations: 1.43 MB / 0.9572 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/1.344, allocations: 277.2 kB / 0.9575 GB, free: 424 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004073/1.344, allocations: 23.86 kB / 0.9575 GB, free: 420 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002435/1.347, allocations: 103.8 kB / 0.9576 GB, free: 380 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002607/1.347, allocations: 47.2 kB / 0.9577 GB, free: 360 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001421/1.347, allocations: 33.77 kB / 0.9577 GB, free: 352 kB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002473/1.35, allocations: 0.7874 MB / 0.9585 GB, free: 112 kB / 0.6823 GB Notification: Performance of sort global known variables: time 1.372e-06/1.35, allocations: 2 kB / 0.9585 GB, free: 112 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004925/1.355, allocations: 0.8248 MB / 0.9593 GB, free: 15.98 MB / 0.698 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01019/1.365, allocations: 2.591 MB / 0.9618 GB, free: 13.87 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.008602/1.374, allocations: 1.614 MB / 0.9634 GB, free: 12.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/1.374, allocations: 0 / 0.9634 GB, free: 12.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002503/1.376, allocations: 389.5 kB / 0.9637 GB, free: 12.35 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007107/1.383, allocations: 0.646 MB / 0.9644 GB, free: 11.82 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01133/1.395, allocations: 7.505 MB / 0.9717 GB, free: 4.559 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/1.396, allocations: 1.322 MB / 0.973 GB, free: 3.262 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002509/1.399, allocations: 335.3 kB / 0.9733 GB, free: 2.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/1.4, allocations: 0.5771 MB / 0.9739 GB, free: 2.785 MB / 0.698 GB Notification: Performance of SimCode: time 2.003e-06/1.4, allocations: 0 / 0.9739 GB, free: 2.785 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1909/1.591, allocations: 40.57 MB / 1.013 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004714/1.592, allocations: 263.3 kB / 1.014 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.151/5.742, allocations: 0 / 1.014 GB, free: 10.47 MB / 0.7448 GB