Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Psychrometrics_Examples_SaturationPressureLiquid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.226/2.226, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001566/0.001566, allocations: 178.1 kB / 325.5 MB, free: 2.898 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.399/2.399, allocations: 205.4 MB / 0.5764 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001141, allocations: 95.67 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005054/0.0005054, allocations: 8.875 kB / 0.795 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2386, allocations: 106.3 MB / 0.8988 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2505/0.4892, allocations: 132 MB / 1.028 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003712/0.4897, allocations: 79.89 kB / 1.028 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004532/0.4942, allocations: 0.9762 MB / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.545e-06/0.4943, allocations: 3.938 kB / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.4943, allocations: 0 / 1.029 GB, free: 12.27 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005165/0.4948, allocations: 351.2 kB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.4949, allocations: 8.031 kB / 1.029 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.091e-05/0.4949, allocations: 30.56 kB / 1.029 GB, free: 11.83 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.4951, allocations: 8 kB / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.4952, allocations: 167 kB / 1.029 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.4952, allocations: 4 kB / 1.029 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.4953, allocations: 4 kB / 1.029 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.4955, allocations: 53.67 kB / 1.029 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4956, allocations: 0 / 1.029 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.4956, allocations: 0 / 1.029 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.4956, allocations: 0 / 1.029 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003018/0.4959, allocations: 47.91 kB / 1.029 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000468/0.4964, allocations: 256.8 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002083/0.4966, allocations: 46.56 kB / 1.03 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.4967, allocations: 0 / 1.03 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.4967, allocations: 30.56 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.4967, allocations: 0 / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0005916/0.4973, allocations: 101.6 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.4974, allocations: 55.41 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.4975, allocations: 100.9 kB / 1.03 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.4976, allocations: 25.7 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.257e-05/0.4976, allocations: 88.27 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.4977, allocations: 3.906 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.4977, allocations: 0 / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4978, allocations: 318.8 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.498, allocations: 19.98 kB / 1.03 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.4982, allocations: 27.92 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.4983, allocations: 19.98 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4984, allocations: 0 / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003629/0.4987, allocations: 81.66 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.4988, allocations: 8 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4988, allocations: 3.938 kB / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.4988, allocations: 0 / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.499, allocations: 11.98 kB / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.499, allocations: 0 / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.4991, allocations: 16.02 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.4991, allocations: 3.953 kB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.913e-05/0.4992, allocations: 109.8 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.4993, allocations: 4 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004306/0.4997, allocations: 92.7 kB / 1.031 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.4997, allocations: 0 / 1.031 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4997, allocations: 0 / 1.031 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4998, allocations: 0 / 1.031 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/0.5, allocations: 169.5 kB / 1.031 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5, allocations: 0 / 1.031 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.5001, allocations: 11.98 kB / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.5002, allocations: 0 / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.5002, allocations: 4 kB / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5002, allocations: 4 kB / 1.031 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.5002, allocations: 4 kB / 1.031 GB, free: 9.734 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004203/0.5006, allocations: 179.5 kB / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.358e-05/0.5007, allocations: 81.09 kB / 1.031 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.5007, allocations: 0 / 1.031 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.5009, allocations: 8 kB / 1.031 GB, free: 9.438 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.5009, allocations: 3.984 kB / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.5009, allocations: 3.938 kB / 1.031 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.85e-05/0.501, allocations: 83.28 kB / 1.031 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.61e-07/0.501, allocations: 0 / 1.031 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002779/0.5013, allocations: 4 kB / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0008282/0.5022, allocations: 0.7158 MB / 1.032 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00036/0.5025, allocations: 47.97 kB / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.5026, allocations: 0 / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.5028, allocations: 39.91 kB / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.503, allocations: 5.891 kB / 1.032 GB, free: 8.516 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006034/0.5036, allocations: 166.7 kB / 1.032 GB, free: 8.309 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.504, allocations: 0.6809 MB / 1.033 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.322e-05/0.504, allocations: 4 kB / 1.033 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.52e-05/0.5041, allocations: 11.38 kB / 1.033 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of SimCode: time 1.362e-06/0.5041, allocations: 0 / 1.033 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/0.5272, allocations: 1.081 MB / 1.034 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003988/0.5277, allocations: 204.4 kB / 1.034 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.294/2.822, allocations: 11.81 kB / 1.034 GB, free: 6.418 MB / 0.6823 GB