Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.217/2.217, allocations: 248.7 MB / 256.2 MB, free: 7.055 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001464/0.001464, allocations: 178.3 kB / 315.4 MB, free: 4.02 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.091/2.091, allocations: 205.3 MB / 0.5662 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 100.4 kB / 0.6704 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.576e-05/2.584e-05, allocations: 8 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1952, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9948/1.19, allocations: 133 MB / 1.014 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003616/1.19, allocations: 90.61 kB / 1.014 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01437/1.205, allocations: 2.827 MB / 1.017 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.402e-06/1.205, allocations: 0 / 1.017 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.885e-06/1.205, allocations: 0 / 1.017 GB, free: 3.402 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004893/1.205, allocations: 358.1 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/1.205, allocations: 8.031 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005615/1.206, allocations: 27.97 kB / 1.017 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/1.206, allocations: 163 kB / 1.017 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/1.206, allocations: 0 / 1.017 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/1.206, allocations: 4 kB / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001173/1.206, allocations: 22.86 kB / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/1.207, allocations: 53.53 kB / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/1.207, allocations: 0 / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/1.207, allocations: 0 / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/1.207, allocations: 4 kB / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/1.207, allocations: 145.6 kB / 1.018 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/1.207, allocations: 54.22 kB / 1.018 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.201e-05/1.207, allocations: 28.38 kB / 1.018 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/1.207, allocations: 0 / 1.018 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/1.207, allocations: 30.56 kB / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 4.689e-06/1.207, allocations: 4 kB / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.002834/1.21, allocations: 427.7 kB / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/1.21, allocations: 51.41 kB / 1.018 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.966e-05/1.21, allocations: 89 kB / 1.018 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/1.21, allocations: 29.7 kB / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/1.21, allocations: 84.12 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.988e-05/1.211, allocations: 19.28 kB / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.559e-05/1.211, allocations: 0.9375 kB / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001495/1.211, allocations: 318.8 kB / 1.019 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.712e-05/1.211, allocations: 27.67 kB / 1.019 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.673e-05/1.211, allocations: 27.61 kB / 1.019 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/1.211, allocations: 27.42 kB / 1.019 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/1.211, allocations: 4.125 kB / 1.019 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003503/1.211, allocations: 108.7 kB / 1.019 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/1.211, allocations: 4 kB / 1.019 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.473e-06/1.211, allocations: 0 / 1.019 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/1.212, allocations: 4 kB / 1.019 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/1.212, allocations: 23.91 kB / 1.019 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/1.212, allocations: 0 / 1.019 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/1.212, allocations: 7.984 kB / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/1.212, allocations: 7.984 kB / 1.019 GB, free: 1.172 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001209/1.212, allocations: 111.7 kB / 1.019 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003007/1.213, allocations: 100.8 kB / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/1.213, allocations: 4 kB / 1.019 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/1.213, allocations: 11.91 kB / 1.019 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/1.213, allocations: 4 kB / 1.019 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/1.213, allocations: 0 / 1.019 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/1.213, allocations: 0 / 1.019 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/1.213, allocations: 173.2 kB / 1.019 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.213, allocations: 0 / 1.019 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004056/1.214, allocations: 23.97 kB / 1.019 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/1.214, allocations: 0 / 1.019 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/1.214, allocations: 7.984 kB / 1.019 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/1.214, allocations: 1.062 kB / 1.019 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.106e-06/1.214, allocations: 8 kB / 1.019 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004787/1.214, allocations: 175.3 kB / 1.019 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.866e-05/1.214, allocations: 77.11 kB / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/1.214, allocations: 0 / 1.02 GB, free: 484 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003313/1.215, allocations: 12.02 kB / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.727e-05/1.215, allocations: 4 kB / 1.02 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/1.215, allocations: 8.047 kB / 1.02 GB, free: 460 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.097e-05/1.215, allocations: 79.28 kB / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.1e-07/1.215, allocations: 0 / 1.02 GB, free: 380 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003986/1.215, allocations: 35.98 kB / 1.02 GB, free: 344 kB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.00102/1.216, allocations: 0.7283 MB / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002714/1.217, allocations: 66.97 kB / 1.02 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.217, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/1.217, allocations: 39.72 kB / 1.02 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/1.217, allocations: 5.484 kB / 1.02 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009957/1.218, allocations: 156.7 kB / 1.021 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/1.218, allocations: 0.6885 MB / 1.021 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004266/1.219, allocations: 29.69 kB / 1.021 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/1.219, allocations: 23.28 kB / 1.021 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of SimCode: time 1.203e-06/1.219, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03894/1.258, allocations: 1.936 MB / 1.023 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003818/1.258, allocations: 202.6 kB / 1.023 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.43/3.688, allocations: 3.188 kB / 1.023 GB, free: 12.43 MB / 0.6511 GB