Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Sensors.Examples.PPM.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.Sensors.Examples.PPM,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.265/4.265, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.582e-05/3.595e-05, allocations: 5.781 kB / 0.5325 GB, free: 12.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2463, allocations: 98.73 MB / 0.6289 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.581/7.828, allocations: 2.207 GB / 2.836 GB, free: 130.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003236/7.828, allocations: 87.5 kB / 2.836 GB, free: 130.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.952/14.78, allocations: 1.229 GB / 4.065 GB, free: 118.8 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.435e-06/14.78, allocations: 0 / 4.065 GB, free: 118.8 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002058/14.78, allocations: 47.72 kB / 4.065 GB, free: 118.8 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.007109/14.79, allocations: 1.818 MB / 4.067 GB, free: 117.9 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/14.79, allocations: 10.22 kB / 4.067 GB, free: 117.9 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004331/14.79, allocations: 373.9 kB / 4.067 GB, free: 117.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004945/14.8, allocations: 1.129 MB / 4.068 GB, free: 117.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.325e-05/14.8, allocations: 48 kB / 4.068 GB, free: 117.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003561/14.8, allocations: 84.25 kB / 4.068 GB, free: 117.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004111/14.8, allocations: 1.123 MB / 4.069 GB, free: 117.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004247/14.81, allocations: 1.32 MB / 4.071 GB, free: 117.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.748e-05/14.81, allocations: 0 / 4.071 GB, free: 117.3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002151/14.81, allocations: 3.312 kB / 4.071 GB, free: 117.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-05/14.81, allocations: 49.67 kB / 4.071 GB, free: 117.3 MB / 0.8386 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.01459/14.82, allocations: 6.25 MB / 4.077 GB, free: 114 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00206/14.82, allocations: 0.7317 MB / 4.078 GB, free: 113.9 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/14.82, allocations: 381 kB / 4.078 GB, free: 113.9 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/14.83, allocations: 414.9 kB / 4.078 GB, free: 113.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.516e-05/14.83, allocations: 43.75 kB / 4.078 GB, free: 113.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=73): time 5.57e-06/14.83, allocations: 3.562 kB / 4.078 GB, free: 113.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=73): time 0.004948/14.83, allocations: 0.9963 MB / 4.079 GB, free: 113.4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/14.83, allocations: 66.92 kB / 4.079 GB, free: 113.3 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001847/14.83, allocations: 0.7294 MB / 4.08 GB, free: 113.1 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001511/14.83, allocations: 29.36 kB / 4.08 GB, free: 113.1 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007249/14.83, allocations: 0.7044 MB / 4.081 GB, free: 112.8 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003905/14.83, allocations: 253.1 kB / 4.081 GB, free: 112.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.377e-05/14.83, allocations: 0 / 4.081 GB, free: 112.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001271/14.83, allocations: 348.8 kB / 4.081 GB, free: 112.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009695/14.84, allocations: 317.5 kB / 4.082 GB, free: 112.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/14.84, allocations: 0.676 MB / 4.082 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002253/14.84, allocations: 0.526 MB / 4.083 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/14.84, allocations: 3.281 kB / 4.083 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005/14.84, allocations: 1.225 MB / 4.084 GB, free: 111.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.923e-05/14.84, allocations: 8.781 kB / 4.084 GB, free: 111.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/14.84, allocations: 10 kB / 4.084 GB, free: 111.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008454/14.84, allocations: 146.2 kB / 4.084 GB, free: 111.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001941/14.85, allocations: 197.9 kB / 4.085 GB, free: 111.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004823/14.85, allocations: 4.615 MB / 4.089 GB, free: 107.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002475/14.85, allocations: 117.8 kB / 4.089 GB, free: 107.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/14.85, allocations: 56.58 kB / 4.089 GB, free: 107.8 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 109 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003013/14.85, allocations: 142.6 kB / 4.089 GB, free: 107.7 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002826/14.86, allocations: 0.9421 MB / 4.09 GB, free: 107.5 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002651/14.86, allocations: 114.2 kB / 4.09 GB, free: 107.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002804/14.86, allocations: 1.053 MB / 4.091 GB, free: 107.4 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/14.86, allocations: 5.719 kB / 4.091 GB, free: 107.4 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/14.86, allocations: 5.094 kB / 4.091 GB, free: 107.4 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002122/14.86, allocations: 0.9709 MB / 4.092 GB, free: 107.1 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006064/14.87, allocations: 2.27 MB / 4.095 GB, free: 106.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/14.87, allocations: 3.938 kB / 4.095 GB, free: 106.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/14.87, allocations: 131 kB / 4.095 GB, free: 106.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005388/14.87, allocations: 138.2 kB / 4.095 GB, free: 106.6 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.526e-05/14.87, allocations: 6.75 kB / 4.095 GB, free: 106.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004226/14.88, allocations: 4.594 MB / 4.099 GB, free: 102.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.19e-05/14.88, allocations: 7.359 kB / 4.099 GB, free: 102.8 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003653/14.88, allocations: 1.636 MB / 4.101 GB, free: 102.3 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/14.88, allocations: 302.7 kB / 4.101 GB, free: 102.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/14.88, allocations: 3.375 kB / 4.101 GB, free: 102.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/14.88, allocations: 54.56 kB / 4.101 GB, free: 102.1 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/14.88, allocations: 62.25 kB / 4.101 GB, free: 102.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-05/14.88, allocations: 32.47 kB / 4.101 GB, free: 102.1 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001103/14.88, allocations: 0.5584 MB / 4.102 GB, free: 102 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.81e-07/14.88, allocations: 5.812 kB / 4.102 GB, free: 102 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.003373/14.89, allocations: 0.606 MB / 4.102 GB, free: 101.9 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1],senPPMTwoPort.C,senPPMNoRev.C,senPPMRev.C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.008497/14.89, allocations: 5.442 MB / 4.108 GB, free: 99.36 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002569/14.9, allocations: 1.101 MB / 4.109 GB, free: 99.01 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/14.9, allocations: 0 / 4.109 GB, free: 99.01 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/14.9, allocations: 0.6756 MB / 4.11 GB, free: 98.69 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004994/14.9, allocations: 0.5885 MB / 4.11 GB, free: 98.66 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006661/14.91, allocations: 2.381 MB / 4.112 GB, free: 98 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001123/14.91, allocations: 1.382 MB / 4.114 GB, free: 97.29 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001941/14.91, allocations: 294.5 kB / 4.114 GB, free: 97.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009541/14.91, allocations: 0.5134 MB / 4.115 GB, free: 97.26 MB / 0.8386 GB Notification: Performance of SimCode: time 1.423e-06/14.91, allocations: 2.188 kB / 4.115 GB, free: 97.26 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1534/15.07, allocations: 50.54 MB / 4.164 GB, free: 57.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/15.07, allocations: 159.9 kB / 4.164 GB, free: 57.46 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.024/20.09, allocations: 0 / 4.164 GB, free: 57.46 MB / 0.8386 GB