Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_9_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.005121/0.005122, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001106/0.001106, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.34/1.34, 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 9.1.3-maint.9.1.x/package.mo): time 2.208/2.208, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 67.89 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9146/0.9161, allocations: 140.4 MB / 1.087 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002389/0.9186, allocations: 1.294 MB / 1.089 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.9197, allocations: 0.6368 MB / 1.089 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.1e-05/0.9197, allocations: 1.094 kB / 1.089 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.659e-05/0.9197, allocations: 0.7031 kB / 1.089 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.864e-05/0.9198, allocations: 5.812 kB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005014/0.9203, allocations: 111 kB / 1.089 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.81e-05/0.9204, allocations: 24.36 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.443e-05/0.9204, allocations: 1.625 kB / 1.09 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.458e-05/0.9205, allocations: 11.3 kB / 1.09 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.284e-05/0.9205, allocations: 15.38 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.9206, allocations: 1.938 kB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000317/0.9209, allocations: 146.5 kB / 1.09 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.9209, allocations: 2.719 kB / 1.09 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.332e-05/0.921, allocations: 13.3 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.9212, allocations: 102.4 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.9212, allocations: 0 / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9212, allocations: 0 / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.9212, allocations: 1.094 kB / 1.09 GB, free: 3.758 MB / 0.8575 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.0004621/0.9217, allocations: 361.3 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.9218, allocations: 9.469 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.884e-05/0.9218, allocations: 32.58 kB / 1.09 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004367/0.9222, allocations: 30.39 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.724e-05/0.9223, allocations: 166.3 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.9223, allocations: 2.156 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.9224, allocations: 10.25 kB / 1.09 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.9226, allocations: 58.67 kB / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.9226, allocations: 4.781 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.9226, allocations: 1.125 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.9226, allocations: 0 / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.9228, allocations: 26.62 kB / 1.09 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000148/0.9229, allocations: 169 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/0.9233, allocations: 63.59 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.867e-05/0.9234, allocations: 32.75 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.9234, allocations: 1.062 kB / 1.091 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.9234, allocations: 36.3 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.9235, allocations: 0 / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.003585/0.927, allocations: 0.5723 MB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.9271, allocations: 56.95 kB / 1.091 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.555e-05/0.9271, allocations: 101.7 kB / 1.091 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.9272, allocations: 26.67 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.704e-05/0.9272, allocations: 81.23 kB / 1.092 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.9272, allocations: 24.2 kB / 1.092 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-05/0.9273, allocations: 26.02 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.432e-05/0.9273, allocations: 313.5 kB / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.9275, allocations: 42.86 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.9277, allocations: 34.72 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/0.928, allocations: 86.77 kB / 1.092 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.928, allocations: 0 / 1.092 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003773/0.9284, allocations: 130.1 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.9284, allocations: 5.406 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.9284, allocations: 0.7188 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.9284, allocations: 1.391 kB / 1.092 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.9287, allocations: 30.2 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.9287, allocations: 0.5625 kB / 1.092 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.9289, allocations: 10.27 kB / 1.092 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.9289, allocations: 4.375 kB / 1.092 GB, free: 1.676 MB / 0.8575 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.62e-05/0.929, allocations: 117.3 kB / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.929, allocations: 5.688 kB / 1.092 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.438e-05/0.9291, allocations: 14.92 kB / 1.092 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.9291, allocations: 0.8438 kB / 1.092 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.9291, allocations: 0 / 1.092 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.9291, allocations: 1.234 kB / 1.092 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.9292, allocations: 185.5 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.9293, allocations: 1.562 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.9295, allocations: 29.69 kB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.9295, allocations: 0.5938 kB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.9296, allocations: 4.266 kB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.9296, allocations: 0.75 kB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9296, allocations: 0.5625 kB / 1.093 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005973/0.9302, allocations: 196.9 kB / 1.093 GB, free: 1.203 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.967e-05/0.9302, allocations: 82.92 kB / 1.093 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.9302, allocations: 1.547 kB / 1.093 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.9304, allocations: 13.12 kB / 1.093 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.9305, allocations: 8 kB / 1.093 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.9305, allocations: 8.969 kB / 1.093 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.901e-05/0.9305, allocations: 77.48 kB / 1.093 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9305, allocations: 0 / 1.093 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003165/0.9308, allocations: 32.31 kB / 1.093 GB, free: 1.012 MB / 0.8575 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.0008633/0.9317, allocations: 0.7596 MB / 1.094 GB, free: 16.36 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003969/0.9321, allocations: 92.75 kB / 1.094 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.9321, allocations: 0.5625 kB / 1.094 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.9323, allocations: 42.66 kB / 1.094 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.9326, allocations: 13.98 kB / 1.094 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.9347, allocations: 1.354 MB / 1.095 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.935, allocations: 0.682 MB / 1.096 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001729/0.9351, allocations: 24.58 kB / 1.096 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.948e-05/0.9352, allocations: 21.7 kB / 1.096 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/0.9352, allocations: 0.7188 kB / 1.096 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02062/0.9559, allocations: 2.485 MB / 1.098 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.355/8.311, allocations: 10.56 kB / 1.098 GB, free: 14.02 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)