Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_latest_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.006518/0.006518, allocations: 95.05 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.001656/0.001656, allocations: 205.8 kB / 16.68 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.515/1.515, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.164/3.164, allocations: 482.4 MB / 0.7548 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.003299/0.003299, allocations: 67.89 kB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3453, allocations: 162.2 MB / 1.241 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002438/0.3477, allocations: 1.296 MB / 1.243 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.3489, allocations: 0.6309 MB / 1.243 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.736e-05/0.3489, allocations: 0 / 1.243 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.975e-05/0.3489, allocations: 0 / 1.243 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.405e-05/0.349, allocations: 7.922 kB / 1.243 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004691/0.3495, allocations: 107.5 kB / 1.243 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.423e-05/0.3495, allocations: 31.84 kB / 1.243 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.3496, allocations: 4 kB / 1.243 GB, free: 8.113 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.551e-05/0.3496, allocations: 11.98 kB / 1.244 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.836e-05/0.3497, allocations: 15.92 kB / 1.244 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.3497, allocations: 0 / 1.244 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002933/0.35, allocations: 147.7 kB / 1.244 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.627e-05/0.35, allocations: 3.984 kB / 1.244 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.814e-05/0.3501, allocations: 11.94 kB / 1.244 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.3503, allocations: 95.75 kB / 1.244 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3503, allocations: 0 / 1.244 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3503, allocations: 0 / 1.244 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3503, allocations: 0 / 1.244 GB, free: 7.832 MB / 0.9981 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.0005766/0.3509, allocations: 355.2 kB / 1.244 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.351, allocations: 12.03 kB / 1.244 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.92e-05/0.351, allocations: 38.69 kB / 1.244 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004239/0.3514, allocations: 28.89 kB / 1.244 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.3516, allocations: 164.3 kB / 1.244 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.3516, allocations: 8.375 kB / 1.244 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.3516, allocations: 4.328 kB / 1.244 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.3518, allocations: 62.16 kB / 1.244 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.3519, allocations: 3.938 kB / 1.244 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.3519, allocations: 0 / 1.244 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3519, allocations: 0 / 1.244 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001433/0.352, allocations: 27.97 kB / 1.244 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001959/0.3522, allocations: 169.7 kB / 1.245 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.3526, allocations: 66.47 kB / 1.245 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.764e-05/0.3527, allocations: 24.94 kB / 1.245 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.917e-05/0.3527, allocations: 4 kB / 1.245 GB, free: 6.719 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.3527, allocations: 34.56 kB / 1.245 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3527, allocations: 0 / 1.245 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.003387/0.3561, allocations: 0.5841 MB / 1.245 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.3562, allocations: 51.41 kB / 1.245 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.158e-05/0.3563, allocations: 93.86 kB / 1.245 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.3563, allocations: 29.7 kB / 1.245 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.3563, allocations: 80.14 kB / 1.246 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/0.3564, allocations: 27.78 kB / 1.246 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-05/0.3564, allocations: 21.7 kB / 1.246 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3566, allocations: 319 kB / 1.246 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.3567, allocations: 35.95 kB / 1.246 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.3569, allocations: 43.91 kB / 1.246 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.3572, allocations: 80.81 kB / 1.246 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3572, allocations: 0 / 1.246 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003776/0.3576, allocations: 121.6 kB / 1.246 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3576, allocations: 9.25 kB / 1.246 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.3576, allocations: 3.938 kB / 1.246 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3576, allocations: 4 kB / 1.246 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.3579, allocations: 23.97 kB / 1.246 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3579, allocations: 3.938 kB / 1.246 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.358, allocations: 7.938 kB / 1.246 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.757e-05/0.358, allocations: 3.984 kB / 1.246 GB, free: 5.043 MB / 0.9981 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.538e-05/0.3581, allocations: 114.4 kB / 1.246 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.3582, allocations: 7.891 kB / 1.246 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.469e-05/0.3583, allocations: 15.97 kB / 1.246 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3583, allocations: 0 / 1.246 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3583, allocations: 0 / 1.246 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.3583, allocations: 3.984 kB / 1.246 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.3585, allocations: 187.7 kB / 1.247 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3585, allocations: 0 / 1.247 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002264/0.3587, allocations: 31.91 kB / 1.247 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3587, allocations: 3.984 kB / 1.247 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.3587, allocations: 4 kB / 1.247 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3588, allocations: 0 / 1.247 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3588, allocations: 0 / 1.247 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005779/0.3593, allocations: 197 kB / 1.247 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.3594, allocations: 85 kB / 1.247 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.3594, allocations: 128 / 1.247 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.3596, allocations: 16.02 kB / 1.247 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.3597, allocations: 4.062 kB / 1.247 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.3597, allocations: 7.984 kB / 1.247 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.288e-05/0.3597, allocations: 83.28 kB / 1.247 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3597, allocations: 0 / 1.247 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002447/0.36, allocations: 27.88 kB / 1.247 GB, free: 4.168 MB / 0.9981 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.000991/0.361, allocations: 0.749 MB / 1.248 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003698/0.3614, allocations: 91.98 kB / 1.248 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3614, allocations: 0 / 1.248 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.3615, allocations: 51.89 kB / 1.248 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002584/0.3618, allocations: 8 kB / 1.248 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.3639, allocations: 1.364 MB / 1.249 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.3642, allocations: 0.6807 MB / 1.25 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001649/0.3644, allocations: 24 kB / 1.25 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.799e-05/0.3645, allocations: 15.42 kB / 1.25 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of SimCode: time 2.11e-07/0.3645, allocations: 96 / 1.25 GB, free: 1.051 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5502/0.9147, allocations: 2.493 MB / 1.252 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.866/8.78, allocations: 3.906 kB / 1.252 GB, free: 14.72 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)