Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_11_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.004999/0.004999, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001338/0.001338, allocations: 197.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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.712/2.712, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 71.83 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8038/0.8058, allocations: 159.1 MB / 1.22 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00251/0.8083, allocations: 1.292 MB / 1.221 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.8095, allocations: 0.6387 MB / 1.222 GB, free: 88 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.921e-05/0.8095, allocations: 0 / 1.222 GB, free: 88 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.046e-05/0.8095, allocations: 0 / 1.222 GB, free: 88 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.322e-05/0.8096, allocations: 7.938 kB / 1.222 GB, free: 80 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.8101, allocations: 111.6 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.685e-05/0.8101, allocations: 31.75 kB / 1.222 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/0.8102, allocations: 0 / 1.222 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.832e-05/0.8102, allocations: 11.98 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.085e-05/0.8103, allocations: 15.92 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.8103, allocations: 0 / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002823/0.8106, allocations: 143.8 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.8106, allocations: 0 / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.8107, allocations: 8 kB / 1.222 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.8109, allocations: 102.4 kB / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.8109, allocations: 0 / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8109, allocations: 0 / 1.222 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.8109, allocations: 0 / 1.222 GB, free: 15.67 MB / 0.9512 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.0005067/0.8114, allocations: 364.2 kB / 1.223 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.8115, allocations: 8.625 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.062e-05/0.8115, allocations: 34.75 kB / 1.223 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003982/0.8119, allocations: 36.83 kB / 1.223 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.8121, allocations: 168.3 kB / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.8121, allocations: 384 / 1.223 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.8121, allocations: 8.375 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.8123, allocations: 54.22 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.8123, allocations: 7.922 kB / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.8123, allocations: 0 / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.8123, allocations: 0 / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.8125, allocations: 31.92 kB / 1.223 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002006/0.8127, allocations: 165.7 kB / 1.223 GB, free: 14.66 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.813, allocations: 66.58 kB / 1.223 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.63e-05/0.8131, allocations: 28.94 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.8132, allocations: 4 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.8132, allocations: 30.56 kB / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.8132, allocations: 0 / 1.223 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.003613/0.8168, allocations: 0.5801 MB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.8169, allocations: 55.41 kB / 1.224 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.581e-05/0.817, allocations: 93.86 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.817, allocations: 29.7 kB / 1.224 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.8171, allocations: 80.14 kB / 1.224 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.8172, allocations: 27.91 kB / 1.224 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.008e-05/0.8172, allocations: 25.7 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.8174, allocations: 314.8 kB / 1.225 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.8176, allocations: 35.97 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.8177, allocations: 35.97 kB / 1.225 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003001/0.818, allocations: 84.81 kB / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.818, allocations: 0 / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004062/0.8185, allocations: 137.4 kB / 1.225 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.8185, allocations: 4 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.8185, allocations: 0 / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.8185, allocations: 4 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.8187, allocations: 23.91 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.8188, allocations: 0 / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.8189, allocations: 4 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.8189, allocations: 7.984 kB / 1.225 GB, free: 12.88 MB / 0.9512 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 0.0001148/0.8191, allocations: 121.8 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.8191, allocations: 3.938 kB / 1.225 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.136e-05/0.8192, allocations: 7.969 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.8192, allocations: 4 kB / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.8192, allocations: 3.984 kB / 1.225 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.8192, allocations: 4 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.8194, allocations: 183.7 kB / 1.225 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.8195, allocations: 0 / 1.225 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.8197, allocations: 31.84 kB / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.8197, allocations: 0 / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.8197, allocations: 4 kB / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.8197, allocations: 0 / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.8197, allocations: 0 / 1.225 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005885/0.8203, allocations: 193.1 kB / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.296e-05/0.8204, allocations: 89.03 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.523e-05/0.8204, allocations: 0 / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.8206, allocations: 16.05 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.8207, allocations: 0 / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.8207, allocations: 7.984 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.267e-05/0.8207, allocations: 79.28 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8207, allocations: 0 / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002646/0.821, allocations: 31.88 kB / 1.226 GB, free: 12.01 MB / 0.9512 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.001064/0.8221, allocations: 0.7535 MB / 1.226 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003727/0.8225, allocations: 95.84 kB / 1.226 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8225, allocations: 0 / 1.226 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.8226, allocations: 43.95 kB / 1.227 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.8229, allocations: 15.05 kB / 1.227 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002221/0.8251, allocations: 1.36 MB / 1.228 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.8255, allocations: 0.6845 MB / 1.229 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001716/0.8257, allocations: 27.94 kB / 1.229 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.788e-05/0.8258, allocations: 23.41 kB / 1.229 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of SimCode: time 2.6e-07/0.8258, allocations: 0 / 1.229 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.8502, allocations: 2.498 MB / 1.231 GB, free: 6.578 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.89/8.74, allocations: 6.094 kB / 1.231 GB, free: 6.574 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)