Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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.004865/0.004865, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001327/0.001327, allocations: 196.9 kB / 16.67 MB, free: 5.973 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.444/1.444, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.932/2.932, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 68.11 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3203, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.00244/0.3228, allocations: 1.261 MB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004985/0.3233, allocations: 225.1 kB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.728e-05/0.3233, allocations: 0 / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.701e-05/0.3234, allocations: 3.938 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.347e-05/0.3234, allocations: 7.984 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.3237, allocations: 43.81 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.011e-05/0.3238, allocations: 23.92 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.674e-05/0.3238, allocations: 0 / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.03e-05/0.3239, allocations: 7.938 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.699e-05/0.3239, allocations: 11.98 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.3239, allocations: 4 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.3241, allocations: 47.95 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.3241, allocations: 3.984 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.854e-05/0.3241, allocations: 11.94 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.3243, allocations: 43.81 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3243, allocations: 0 / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3243, allocations: 0 / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.3243, allocations: 0 / 1.222 GB, free: 12.62 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004122/0.3247, allocations: 339.5 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.3248, allocations: 8.031 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.243e-05/0.3248, allocations: 30.75 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.3249, allocations: 12.92 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.3251, allocations: 160.4 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.3251, allocations: 4.375 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.3251, allocations: 4.375 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.3252, allocations: 50.17 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3253, allocations: 7.938 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.3253, allocations: 0 / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.3253, allocations: 0 / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.595e-05/0.3253, allocations: 12 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.3255, allocations: 165.7 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.905e-05/0.3256, allocations: 42.62 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.91e-05/0.3257, allocations: 16.98 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.3257, allocations: 3.938 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.3257, allocations: 42.5 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.3257, allocations: 0 / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.002132/0.3279, allocations: 0.4941 MB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.3279, allocations: 51.41 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.19e-05/0.328, allocations: 97.86 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.328, allocations: 25.7 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/0.3281, allocations: 80.14 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.3281, allocations: 35.72 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.3282, allocations: 17.72 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.3283, allocations: 322.8 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.024e-05/0.3284, allocations: 20 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.726e-05/0.3284, allocations: 28.36 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.3286, allocations: 60.8 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3286, allocations: 0 / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001739/0.3288, allocations: 97.56 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.3288, allocations: 4 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3288, allocations: 4 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.3288, allocations: 0 / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.329, allocations: 15.98 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.329, allocations: 4 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.869e-05/0.329, allocations: 4.281 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.3291, allocations: 0 / 1.224 GB, free: 10.11 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 (9): * Single equations (assignments): 9 * 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.232e-05/0.3292, allocations: 113.8 kB / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.3292, allocations: 7.875 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.408e-05/0.3292, allocations: 11.97 kB / 1.224 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.3292, allocations: 3.984 kB / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.3293, allocations: 4 kB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3293, allocations: 3.938 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.3294, allocations: 183.5 kB / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3294, allocations: 0 / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.3296, allocations: 15.94 kB / 1.224 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.3296, allocations: 0 / 1.224 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.886e-06/0.3296, allocations: 0 / 1.224 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.3296, allocations: 4 kB / 1.224 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3296, allocations: 0 / 1.224 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.3299, allocations: 141.1 kB / 1.224 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.955e-05/0.33, allocations: 93.08 kB / 1.225 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.33, allocations: 4 kB / 1.225 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.3301, allocations: 7.969 kB / 1.225 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.384e-05/0.3302, allocations: 4 kB / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.3302, allocations: 7.984 kB / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.239e-05/0.3302, allocations: 75.28 kB / 1.225 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3302, allocations: 0 / 1.225 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001984/0.3304, allocations: 12 kB / 1.225 GB, free: 9.332 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 (8): * Single equations (assignments): 8 * 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.0005637/0.331, allocations: 0.6832 MB / 1.225 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001634/0.3312, allocations: 63.91 kB / 1.225 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3312, allocations: 3.938 kB / 1.225 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.354e-05/0.3313, allocations: 31.94 kB / 1.225 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.3315, allocations: 12.38 kB / 1.225 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.333, allocations: 1.271 MB / 1.227 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.3333, allocations: 0.6884 MB / 1.227 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.949e-05/0.3334, allocations: 4 kB / 1.227 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.815e-05/0.3335, allocations: 19.42 kB / 1.227 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.3335, allocations: 0 / 1.227 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.3578, allocations: 1.658 MB / 1.229 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.046/8.403, allocations: 14.91 kB / 1.229 GB, free: 4.957 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_11_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)