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 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.Examples.ClosedLoop_y,fileNamePrefix="Buildings_6_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.2/package.mo): time 0.01118/0.01118, allocations: 106.6 kB / 15.05 MB, free: 6 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.00121/0.00121, allocations: 184 kB / 15.95 MB, free: 5.941 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 1.998/1.998, allocations: 194.5 MB / 211.3 MB, free: 11.04 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.202/2.202, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005177/0.0005178, allocations: 12 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7103/0.7108, allocations: 98.71 MB / 0.6834 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.052/7.763, allocations: 2.22 GB / 2.903 GB, free: 170.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/7.763, allocations: 99.7 kB / 2.903 GB, free: 170.1 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.061/11.82, allocations: 0.7828 GB / 3.686 GB, free: 1.359 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.524e-06/11.82, allocations: 0 / 3.686 GB, free: 1.359 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002804/11.82, allocations: 47.09 kB / 3.686 GB, free: 1.316 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.01219/11.84, allocations: 2.376 MB / 3.688 GB, free: 14.9 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.042e-05/11.84, allocations: 8.031 kB / 3.688 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000952/11.84, allocations: 156.1 kB / 3.688 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007975/11.85, allocations: 465.4 kB / 3.689 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01138/11.86, allocations: 1.897 MB / 3.691 GB, free: 12.33 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002444/11.86, allocations: 78 kB / 3.691 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006774/11.86, allocations: 108 kB / 3.691 GB, free: 12.15 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006041/11.86, allocations: 1.198 MB / 3.692 GB, free: 10.9 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.534e-05/11.86, allocations: 0 / 3.692 GB, free: 10.9 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002792/11.87, allocations: 44 kB / 3.692 GB, free: 10.86 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.329e-05/11.87, allocations: 34 kB / 3.692 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005729/11.87, allocations: 0.9174 MB / 3.693 GB, free: 9.902 MB / 0.8386 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.01306/11.88, allocations: 4.956 MB / 3.698 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003743/11.89, allocations: 0.9448 MB / 3.699 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003182/11.89, allocations: 101.7 kB / 3.699 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001674/11.89, allocations: 484.1 kB / 3.699 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001004/11.89, allocations: 95.33 kB / 3.7 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=71): time 3.817e-06/11.89, allocations: 0 / 3.7 GB, free: 2.938 MB / 0.8386 GB Notification: Performance of matching and sorting (n=71): time 0.005779/11.9, allocations: 1.268 MB / 3.701 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/11.9, allocations: 200.6 kB / 3.701 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002537/11.9, allocations: 1.034 MB / 3.702 GB, free: 368 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0003056/11.9, allocations: 45.7 kB / 3.702 GB, free: 316 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.6986/12.6, allocations: 0.668 MB / 3.703 GB, free: 122.6 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005211/12.6, allocations: 247.2 kB / 3.703 GB, free: 122.5 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/12.6, allocations: 16.66 kB / 3.703 GB, free: 122.5 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001099/12.6, allocations: 337.3 kB / 3.703 GB, free: 122.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/12.6, allocations: 346.1 kB / 3.704 GB, free: 122.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001731/12.6, allocations: 0.6266 MB / 3.704 GB, free: 121.9 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/12.6, allocations: 450 kB / 3.705 GB, free: 121.9 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-05/12.6, allocations: 0.9062 kB / 3.705 GB, free: 121.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004523/12.61, allocations: 1.146 MB / 3.706 GB, free: 121.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005478/12.61, allocations: 2.083 MB / 3.708 GB, free: 119.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.465e-05/12.61, allocations: 6.609 kB / 3.708 GB, free: 119.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006212/12.61, allocations: 78.05 kB / 3.708 GB, free: 119.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/12.61, allocations: 205.3 kB / 3.708 GB, free: 119.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009914/12.61, allocations: 1.209 MB / 3.709 GB, free: 118.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/12.62, allocations: 105.3 kB / 3.709 GB, free: 118.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002995/12.62, allocations: 49.03 kB / 3.709 GB, free: 118.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/12.62, allocations: 3.938 kB / 3.709 GB, free: 118.5 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003938/12.62, allocations: 1.007 MB / 3.71 GB, free: 118.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.563e-05/12.62, allocations: 12.3 kB / 3.71 GB, free: 118.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007453/12.62, allocations: 103.7 kB / 3.71 GB, free: 118.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/12.62, allocations: 182.5 kB / 3.711 GB, free: 118.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00658/12.63, allocations: 2.749 MB / 3.713 GB, free: 116.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/12.63, allocations: 97.38 kB / 3.713 GB, free: 116.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002454/12.63, allocations: 47.25 kB / 3.713 GB, free: 116.7 MB / 0.8386 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 () * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.001467/12.63, allocations: 467.6 kB / 3.714 GB, free: 116.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004847/12.63, allocations: 135.5 kB / 3.714 GB, free: 116.4 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004947/12.64, allocations: 0.9802 MB / 3.715 GB, free: 116.4 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.059e-05/12.64, allocations: 10.86 kB / 3.715 GB, free: 116.4 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/12.64, allocations: 0.5625 kB / 3.715 GB, free: 116.4 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003281/12.64, allocations: 0.8745 MB / 3.716 GB, free: 116.2 MB / 0.8386 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.008474/12.65, allocations: 2.301 MB / 3.718 GB, free: 115.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/12.65, allocations: 4.906 kB / 3.718 GB, free: 115.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001707/12.65, allocations: 158.6 kB / 3.718 GB, free: 115.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005348/12.65, allocations: 88.41 kB / 3.718 GB, free: 115.7 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002004/12.65, allocations: 25.73 kB / 3.718 GB, free: 115.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008014/12.65, allocations: 1.193 MB / 3.72 GB, free: 114.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/12.65, allocations: 8.438 kB / 3.72 GB, free: 114.6 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005301/12.66, allocations: 1.517 MB / 3.721 GB, free: 114.3 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/12.66, allocations: 281.2 kB / 3.721 GB, free: 114.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003452/12.66, allocations: 19.33 kB / 3.721 GB, free: 114.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001943/12.66, allocations: 111.2 kB / 3.721 GB, free: 114.1 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/12.66, allocations: 56.8 kB / 3.721 GB, free: 114.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/12.66, allocations: 31.2 kB / 3.721 GB, free: 114.1 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002065/12.66, allocations: 0.803 MB / 3.722 GB, free: 114 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.31e-07/12.66, allocations: 3.062 kB / 3.722 GB, free: 114 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00573/12.67, allocations: 1.105 MB / 3.723 GB, free: 113.9 MB / 0.8386 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 (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.01215/12.68, allocations: 4.975 MB / 3.728 GB, free: 112.1 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.005908/12.69, allocations: 1.662 MB / 3.73 GB, free: 111.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/12.69, allocations: 1.219 kB / 3.73 GB, free: 111.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001794/12.69, allocations: 419.6 kB / 3.73 GB, free: 111.8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005689/12.7, allocations: 0.6477 MB / 3.731 GB, free: 111.7 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/12.71, allocations: 7.448 MB / 3.738 GB, free: 106.6 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001369/12.71, allocations: 1.328 MB / 3.739 GB, free: 105.8 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.002733/12.71, allocations: 329 kB / 3.74 GB, free: 105.8 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00138/12.71, allocations: 0.5639 MB / 3.74 GB, free: 105.8 MB / 0.8386 GB Notification: Performance of SimCode: time 1.132e-06/12.71, allocations: 0 / 3.74 GB, free: 105.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1722/12.89, allocations: 73.91 MB / 3.812 GB, free: 104.1 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003003/12.89, allocations: 250 kB / 3.813 GB, free: 103.8 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.4/19.29, allocations: 3.938 kB / 3.813 GB, free: 103.8 MB / 0.8386 GB