Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_10_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008728/0.008728, allocations: 96.22 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001916/0.001917, allocations: 195.3 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.685/2.685, allocations: 437.1 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 67.88 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2594, allocations: 151.6 MB / 1.166 GB, free: 7.348 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002205/0.2616, allocations: 1.285 MB / 1.167 GB, free: 6.047 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.2627, allocations: 0.6399 MB / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.069e-05/0.2627, allocations: 0 / 1.168 GB, free: 5.402 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.016e-05/0.2628, allocations: 3.984 kB / 1.168 GB, free: 5.398 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.977e-05/0.2628, allocations: 3.938 kB / 1.168 GB, free: 5.395 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.2633, allocations: 111.4 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.132e-05/0.2633, allocations: 27.86 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.194e-05/0.2634, allocations: 8 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.086e-05/0.2634, allocations: 8 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.374e-05/0.2635, allocations: 11.98 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.2635, allocations: 0 / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.2638, allocations: 151.7 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.2638, allocations: 4 kB / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.2638, allocations: 11.97 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.264, allocations: 95.98 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.264, allocations: 0 / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2641, allocations: 0 / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2641, allocations: 0 / 1.168 GB, free: 4.973 MB / 0.92 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.000449/0.2645, allocations: 359.2 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2646, allocations: 8.031 kB / 1.169 GB, free: 4.562 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.306e-05/0.2646, allocations: 30.75 kB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004151/0.265, allocations: 32.91 kB / 1.169 GB, free: 4.492 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.2652, allocations: 168.4 kB / 1.169 GB, free: 4.289 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.477e-06/0.2652, allocations: 4.312 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.2652, allocations: 12.33 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.2654, allocations: 54.16 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.2654, allocations: 11.92 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.2654, allocations: 4 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2655, allocations: 0 / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001889/0.2657, allocations: 27.97 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.2658, allocations: 157.7 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/0.2662, allocations: 70.52 kB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.824e-05/0.2663, allocations: 28.92 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.2663, allocations: 0 / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.2663, allocations: 38.56 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.2663, allocations: 0 / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.003445/0.2698, allocations: 0.5759 MB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.2698, allocations: 55.41 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.179e-05/0.2699, allocations: 97.84 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.2699, allocations: 25.7 kB / 1.17 GB, free: 2.98 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.965e-05/0.27, allocations: 88.14 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.27, allocations: 15.86 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.876e-05/0.2701, allocations: 29.69 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.16e-05/0.2702, allocations: 318.8 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.2703, allocations: 40.09 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.2705, allocations: 35.91 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.2708, allocations: 84.81 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2708, allocations: 0 / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003667/0.2712, allocations: 125.5 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2712, allocations: 5.719 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.2712, allocations: 0 / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.2713, allocations: 0 / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.2715, allocations: 27.97 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2715, allocations: 0 / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.2717, allocations: 15.92 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.2717, allocations: 4 kB / 1.171 GB, free: 2.18 MB / 0.92 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.827e-05/0.2718, allocations: 109.8 kB / 1.171 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.2718, allocations: 11.89 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.193e-05/0.2719, allocations: 15.91 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2719, allocations: 0 / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2719, allocations: 4 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2719, allocations: 0 / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.272, allocations: 179.7 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2721, allocations: 4 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.2723, allocations: 27.91 kB / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2723, allocations: 0 / 1.171 GB, free: 1.77 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.2723, allocations: 8.047 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.2724, allocations: 4 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2724, allocations: 0 / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005617/0.2729, allocations: 189 kB / 1.171 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.642e-05/0.273, allocations: 85.33 kB / 1.172 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.273, allocations: 12.02 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.2732, allocations: 4 kB / 1.172 GB, free: 1.438 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.2732, allocations: 11.92 kB / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.2732, allocations: 7.984 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.224e-05/0.2733, allocations: 83.33 kB / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2733, allocations: 0 / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002477/0.2735, allocations: 35.88 kB / 1.172 GB, free: 1.301 MB / 0.92 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008856/0.2744, allocations: 0.757 MB / 1.172 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003507/0.2748, allocations: 87.98 kB / 1.173 GB, free: 440 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2748, allocations: 0 / 1.173 GB, free: 440 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.275, allocations: 51.89 kB / 1.173 GB, free: 388 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.2752, allocations: 9.203 kB / 1.173 GB, free: 380 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.2772, allocations: 1.348 MB / 1.174 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.2774, allocations: 0.6807 MB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001717/0.2776, allocations: 35.95 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.81e-05/0.2777, allocations: 19.36 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of SimCode: time 6.91e-07/0.2777, allocations: 0 / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.2969, allocations: 2.485 MB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.805/8.102, allocations: 21.98 kB / 1.177 GB, free: 11.87 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_10_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)