Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.FixedResistances.Examples.PressureDrop,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_FixedResistances_Examples_PressureDrop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.303/4.303, allocations: 433.2 MB / 440.7 MB, free: 4.531 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.887e-05/2.903e-05, allocations: 4 kB / 0.5325 GB, free: 12.78 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2354, allocations: 98.73 MB / 0.6289 GB, free: 9.098 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.921/7.156, allocations: 2.176 GB / 2.804 GB, free: 160.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/7.157, allocations: 84.02 kB / 2.805 GB, free: 160 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.265/8.421, allocations: 210.5 MB / 3.01 GB, free: 252.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.993e-06/8.421, allocations: 0 / 3.01 GB, free: 252.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.298e-05/8.422, allocations: 7.844 kB / 3.01 GB, free: 252.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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001105/8.423, allocations: 0.5636 MB / 3.011 GB, free: 251.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/8.423, allocations: 7.188 kB / 3.011 GB, free: 251.7 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004582/8.423, allocations: 60.25 kB / 3.011 GB, free: 251.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006508/8.424, allocations: 300.9 kB / 3.011 GB, free: 251.4 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/8.424, allocations: 7.219 kB / 3.011 GB, free: 251.4 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/8.424, allocations: 8.562 kB / 3.011 GB, free: 251.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002733/8.424, allocations: 88.58 kB / 3.011 GB, free: 251.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/8.425, allocations: 123.5 kB / 3.011 GB, free: 251.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/8.425, allocations: 3.953 kB / 3.011 GB, free: 251.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/8.425, allocations: 2.688 kB / 3.011 GB, free: 251.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/8.425, allocations: 3.719 kB / 3.011 GB, free: 251.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 preOpt removeSimpleEquations (simulation): time 0.001235/8.426, allocations: 0.5769 MB / 3.012 GB, free: 251.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/8.426, allocations: 80.84 kB / 3.012 GB, free: 251.1 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/8.426, allocations: 53.38 kB / 3.012 GB, free: 251.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003254/8.427, allocations: 194.6 kB / 3.012 GB, free: 250.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/8.427, allocations: 30.56 kB / 3.012 GB, free: 250.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=10): time 3.266e-06/8.427, allocations: 0 / 3.012 GB, free: 250.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=10): time 0.0006408/8.427, allocations: 138.1 kB / 3.012 GB, free: 250.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/8.427, allocations: 58.28 kB / 3.012 GB, free: 250.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/8.428, allocations: 186.8 kB / 3.013 GB, free: 250.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/8.428, allocations: 25.7 kB / 3.013 GB, free: 250.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.302e-05/8.428, allocations: 152.4 kB / 3.013 GB, free: 250.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.047e-05/8.428, allocations: 32.64 kB / 3.013 GB, free: 250.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.178e-06/8.428, allocations: 3.938 kB / 3.013 GB, free: 250.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.745e-05/8.428, allocations: 329.7 kB / 3.013 GB, free: 250.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.083e-05/8.428, allocations: 26.91 kB / 3.013 GB, free: 250.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/8.428, allocations: 86.8 kB / 3.013 GB, free: 250.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.925e-05/8.428, allocations: 37.25 kB / 3.013 GB, free: 250.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/8.428, allocations: 0 / 3.013 GB, free: 250.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002803/8.428, allocations: 120.7 kB / 3.013 GB, free: 250.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.896e-05/8.429, allocations: 363.3 kB / 3.014 GB, free: 249.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/8.429, allocations: 0 / 3.014 GB, free: 249.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/8.429, allocations: 3.312 kB / 3.014 GB, free: 249.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/8.429, allocations: 26.2 kB / 3.014 GB, free: 249.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/8.429, allocations: 3.125 kB / 3.014 GB, free: 249.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003544/8.429, allocations: 29.81 kB / 3.014 GB, free: 249.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/8.429, allocations: 6.375 kB / 3.014 GB, free: 249.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/8.429, allocations: 7.969 kB / 3.014 GB, free: 249.7 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001963/8.43, allocations: 67.62 kB / 3.014 GB, free: 249.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/8.43, allocations: 3.953 kB / 3.014 GB, free: 249.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.198e-06/8.43, allocations: 0 / 3.014 GB, free: 249.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/8.43, allocations: 28 kB / 3.014 GB, free: 249.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/8.43, allocations: 3.969 kB / 3.014 GB, free: 249.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003122/8.43, allocations: 23.56 kB / 3.014 GB, free: 249.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/8.43, allocations: 7.125 kB / 3.014 GB, free: 249.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.872e-05/8.43, allocations: 108.7 kB / 3.014 GB, free: 249.6 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002502/8.431, allocations: 113.5 kB / 3.014 GB, free: 249.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.956e-05/8.431, allocations: 22.61 kB / 3.014 GB, free: 249.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/8.431, allocations: 121.8 kB / 3.014 GB, free: 249.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/8.431, allocations: 1.531 kB / 3.014 GB, free: 249.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/8.431, allocations: 1.781 kB / 3.014 GB, free: 249.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/8.431, allocations: 3.703 kB / 3.014 GB, free: 249.5 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009164/8.432, allocations: 0.5213 MB / 3.015 GB, free: 249.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/8.432, allocations: 3.438 kB / 3.015 GB, free: 249.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/8.432, allocations: 31.17 kB / 3.015 GB, free: 249.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/8.432, allocations: 3.844 kB / 3.015 GB, free: 249.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/8.432, allocations: 5.562 kB / 3.015 GB, free: 249.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/8.432, allocations: 0 / 3.015 GB, free: 249.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/8.432, allocations: 3.531 kB / 3.015 GB, free: 249.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003202/8.433, allocations: 339.1 kB / 3.015 GB, free: 248.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/8.433, allocations: 106.2 kB / 3.015 GB, free: 248.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.014e-05/8.433, allocations: 3.281 kB / 3.015 GB, free: 248.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/8.433, allocations: 23.64 kB / 3.015 GB, free: 248.8 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.5e-05/8.433, allocations: 14.75 kB / 3.015 GB, free: 248.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/8.433, allocations: 9.656 kB / 3.015 GB, free: 248.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001545/8.433, allocations: 147.5 kB / 3.015 GB, free: 248.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.31e-07/8.433, allocations: 3.156 kB / 3.015 GB, free: 248.7 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001114/8.435, allocations: 161.6 kB / 3.016 GB, free: 248.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002253/8.437, allocations: 2.277 MB / 3.018 GB, free: 247.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004423/8.437, allocations: 124.5 kB / 3.018 GB, free: 247.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/8.437, allocations: 3.906 kB / 3.018 GB, free: 247.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/8.437, allocations: 39.34 kB / 3.018 GB, free: 247.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/8.439, allocations: 101.5 kB / 3.018 GB, free: 247.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/8.44, allocations: 367.9 kB / 3.018 GB, free: 247 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/8.44, allocations: 0.7691 MB / 3.019 GB, free: 246.3 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0004525/8.44, allocations: 64 kB / 3.019 GB, free: 246.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/8.44, allocations: 69.84 kB / 3.019 GB, free: 246.3 MB / 0.823 GB Notification: Performance of SimCode: time 9.12e-07/8.44, allocations: 0 / 3.019 GB, free: 246.3 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.071/8.511, allocations: 12.37 MB / 3.031 GB, free: 245.5 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002355/8.512, allocations: 178.1 kB / 3.032 GB, free: 245.3 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.14/11.65, allocations: 0 / 3.032 GB, free: 245.3 MB / 0.823 GB