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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.004601/0.004601, allocations: 101.8 kB / 15.73 MB, free: 5.555 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.001153/0.001153, allocations: 194.6 kB / 16.67 MB, free: 5.484 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.836/2.836, allocations: 469.4 MB / 0.7421 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 67.83 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2819, allocations: 159.1 MB / 1.22 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00242/0.2844, allocations: 1.294 MB / 1.221 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.2854, allocations: 0.6348 MB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.051e-05/0.2855, allocations: 0 / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.573e-05/0.2855, allocations: 0 / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.502e-05/0.2856, allocations: 11.92 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004537/0.286, allocations: 107.5 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.973e-05/0.2861, allocations: 27.86 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.957e-05/0.2861, allocations: 7.984 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.465e-05/0.2862, allocations: 11.98 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.799e-05/0.2862, allocations: 7.938 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.2863, allocations: 4 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002677/0.2865, allocations: 147.7 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.2866, allocations: 11.98 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.2866, allocations: 8 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.2868, allocations: 99.69 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2868, allocations: 0 / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2868, allocations: 0 / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.217e-06/0.2868, allocations: 0 / 1.222 GB, free: 12.25 MB / 0.9825 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.0004338/0.2873, allocations: 351.3 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2873, allocations: 8.031 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.864e-05/0.2873, allocations: 34.69 kB / 1.222 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004351/0.2878, allocations: 32.89 kB / 1.222 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.2879, allocations: 172.3 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.2879, allocations: 4.375 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.2879, allocations: 384 / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.2881, allocations: 58.16 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.2881, allocations: 3.938 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.2882, allocations: 7.984 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.2882, allocations: 4 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.2883, allocations: 23.97 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001731/0.2885, allocations: 165.7 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.2888, allocations: 70.47 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.885e-05/0.2889, allocations: 28.94 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.289, allocations: 0 / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/0.289, allocations: 30.56 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.289, allocations: 0 / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.003461/0.2925, allocations: 0.5721 MB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.2925, allocations: 51.41 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.966e-05/0.2926, allocations: 101.8 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.2926, allocations: 29.83 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.06e-05/0.2926, allocations: 80.14 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/0.2927, allocations: 27.78 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.906e-05/0.2928, allocations: 25.69 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.1e-05/0.2929, allocations: 314.8 kB / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.293, allocations: 35.97 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.2932, allocations: 43.91 kB / 1.224 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.2935, allocations: 80.81 kB / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.2935, allocations: 0 / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003727/0.2938, allocations: 129.6 kB / 1.224 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.2939, allocations: 4 kB / 1.224 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.2939, allocations: 4 kB / 1.224 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.2939, allocations: 3.984 kB / 1.224 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.2941, allocations: 23.97 kB / 1.224 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2941, allocations: 0 / 1.224 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.2943, allocations: 7.938 kB / 1.224 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.2943, allocations: 15.92 kB / 1.225 GB, free: 9.465 MB / 0.9825 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.767e-05/0.2944, allocations: 110.4 kB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.2944, allocations: 7.938 kB / 1.225 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.403e-05/0.2945, allocations: 11.97 kB / 1.225 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2945, allocations: 0 / 1.225 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2945, allocations: 0 / 1.225 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2945, allocations: 0 / 1.225 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.2947, allocations: 195.7 kB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2947, allocations: 0 / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.295, allocations: 27.91 kB / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.295, allocations: 0 / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.295, allocations: 3.984 kB / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.295, allocations: 4 kB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.295, allocations: 4 kB / 1.225 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005525/0.2956, allocations: 192.9 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/0.2956, allocations: 89.06 kB / 1.225 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.2957, allocations: 0 / 1.225 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.2959, allocations: 12.34 kB / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.804e-05/0.2959, allocations: 8 kB / 1.225 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.2959, allocations: 3.984 kB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.028e-05/0.2959, allocations: 79.28 kB / 1.225 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.2e-07/0.296, allocations: 0 / 1.225 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002523/0.2962, allocations: 31.88 kB / 1.225 GB, free: 8.602 MB / 0.9825 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.0008683/0.2971, allocations: 0.7588 MB / 1.226 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003433/0.2974, allocations: 87.92 kB / 1.226 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.2975, allocations: 0 / 1.226 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.2976, allocations: 47.97 kB / 1.226 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.2979, allocations: 16.8 kB / 1.226 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.2999, allocations: 1.36 MB / 1.227 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.3001, allocations: 0.6806 MB / 1.228 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.000172/0.3003, allocations: 28.03 kB / 1.228 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.736e-05/0.3003, allocations: 19.42 kB / 1.228 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.3004, allocations: 0 / 1.228 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.3193, allocations: 2.51 MB / 1.231 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.648/7.967, allocations: 8.766 kB / 1.231 GB, free: 3.164 MB / 0.9825 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 50 --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)