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.008191/0.008191, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001902/0.001902, allocations: 192.2 kB / 16.67 MB, free: 5.949 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.494/1.494, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.586/2.586, allocations: 437 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 60.36 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6799/0.6818, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002552/0.6844, allocations: 1.299 MB / 1.167 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001128/0.6856, allocations: 0.642 MB / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.008e-05/0.6856, allocations: 0 / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.412e-05/0.6856, allocations: 0 / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.075e-05/0.6857, allocations: 3.938 kB / 1.168 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.6861, allocations: 103.5 kB / 1.168 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.171e-05/0.6862, allocations: 23.86 kB / 1.168 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.639e-05/0.6862, allocations: 8 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.463e-05/0.6863, allocations: 15.91 kB / 1.168 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.708e-05/0.6863, allocations: 12 kB / 1.168 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.6863, allocations: 0 / 1.168 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002957/0.6866, allocations: 143.8 kB / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.6867, allocations: 15.91 kB / 1.168 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.13e-05/0.6867, allocations: 4 kB / 1.168 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.6869, allocations: 98.38 kB / 1.168 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.6869, allocations: 0 / 1.168 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6869, allocations: 0 / 1.168 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.6869, allocations: 0 / 1.168 GB, free: 1.43 MB / 0.8887 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.0004961/0.6874, allocations: 360.2 kB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.6875, allocations: 8.031 kB / 1.169 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.331e-05/0.6875, allocations: 30.75 kB / 1.169 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000398/0.6879, allocations: 36.89 kB / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.6881, allocations: 160.4 kB / 1.169 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.6881, allocations: 384 / 1.169 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.587e-05/0.6881, allocations: 8.328 kB / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.6883, allocations: 54.22 kB / 1.169 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.6883, allocations: 7.938 kB / 1.169 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.6883, allocations: 7.938 kB / 1.169 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.6883, allocations: 3.984 kB / 1.169 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.6885, allocations: 35.84 kB / 1.169 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.6887, allocations: 161.7 kB / 1.169 GB, free: 432 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/0.689, allocations: 70.53 kB / 1.169 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.859e-05/0.6891, allocations: 24.94 kB / 1.169 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.6892, allocations: 0 / 1.169 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.6892, allocations: 38.56 kB / 1.169 GB, free: 276 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.6892, allocations: 0 / 1.169 GB, free: 276 kB / 0.8887 GB Notification: Performance of matching and sorting (n=6): time 0.003378/0.6926, allocations: 0.5681 MB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.6926, allocations: 55.41 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.937e-05/0.6927, allocations: 97.84 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.6927, allocations: 25.7 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.6928, allocations: 84.14 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.6929, allocations: 19.8 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.6929, allocations: 29.69 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.6931, allocations: 314.8 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.6932, allocations: 48.14 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/0.6934, allocations: 31.97 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.6937, allocations: 80.81 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.6937, allocations: 4 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003895/0.6941, allocations: 125.5 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.6941, allocations: 4 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.6941, allocations: 0 / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.6942, allocations: 3.984 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.6944, allocations: 27.97 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.6944, allocations: 0 / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.6945, allocations: 8 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.6946, allocations: 7.984 kB / 1.171 GB, free: 14.64 MB / 0.9044 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 9.088e-05/0.6947, allocations: 105.8 kB / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.6947, allocations: 11.89 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.477e-05/0.6948, allocations: 15.91 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.6948, allocations: 0 / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.6948, allocations: 4 kB / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/0.6948, allocations: 0 / 1.171 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.695, allocations: 187.6 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.695, allocations: 4 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.6952, allocations: 23.91 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.6953, allocations: 4 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.6953, allocations: 7.984 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.6953, allocations: 0 / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6953, allocations: 0 / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005826/0.6959, allocations: 193 kB / 1.171 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.6959, allocations: 85.03 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.696, allocations: 8 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.6962, allocations: 11.98 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.602e-05/0.6962, allocations: 336 / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.6962, allocations: 12.05 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.94e-05/0.6963, allocations: 83.28 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6963, allocations: 0 / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002508/0.6965, allocations: 35.88 kB / 1.172 GB, free: 13.77 MB / 0.9044 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.0009668/0.6975, allocations: 0.7452 MB / 1.172 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003561/0.6979, allocations: 91.92 kB / 1.172 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6979, allocations: 0 / 1.172 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.698, allocations: 43.97 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.6983, allocations: 11.92 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/0.7004, allocations: 1.372 MB / 1.174 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.7008, allocations: 0.6884 MB / 1.175 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001673/0.701, allocations: 23.98 kB / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.692e-05/0.701, allocations: 19.42 kB / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of SimCode: time 2.8e-07/0.701, allocations: 0 / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.7251, allocations: 2.485 MB / 1.177 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.992/8.718, allocations: 20.95 kB / 1.177 GB, free: 8.34 MB / 0.9044 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)