Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_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.001126/0.001126, allocations: 102.8 kB / 16.27 MB, free: 5.93 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.001181/0.001181, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.293/1.293, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7214/0.7214, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001432, allocations: 63.89 kB / 0.4912 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3382, allocations: 77.93 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002099/0.3403, allocations: 1.243 MB / 0.5685 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004029/0.3407, allocations: 232.4 kB / 0.5687 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.748e-05/0.3408, allocations: 1.125 kB / 0.5687 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.208e-05/0.3408, allocations: 0 / 0.5687 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.321e-05/0.3408, allocations: 8.844 kB / 0.5688 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.3411, allocations: 42.62 kB / 0.5688 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.878e-05/0.3412, allocations: 15.78 kB / 0.5688 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.141e-05/0.3412, allocations: 6.781 kB / 0.5688 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.56e-05/0.3412, allocations: 10.44 kB / 0.5688 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.076e-05/0.3413, allocations: 12.27 kB / 0.5688 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.3413, allocations: 1.406 kB / 0.5688 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.3414, allocations: 45.41 kB / 0.5689 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.3414, allocations: 3.266 kB / 0.5689 GB, free: 31.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.258e-05/0.3415, allocations: 9.266 kB / 0.5689 GB, free: 31.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.3416, allocations: 41.25 kB / 0.5689 GB, free: 31.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3416, allocations: 4.562 kB / 0.5689 GB, free: 31.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3416, allocations: 1.094 kB / 0.5689 GB, free: 31.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.3416, allocations: 0 / 0.5689 GB, free: 31.59 MB / 446.1 MB 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.0002951/0.3419, allocations: 335.8 kB / 0.5693 GB, free: 31.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.342, allocations: 9.812 kB / 0.5693 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.315e-05/0.342, allocations: 32.38 kB / 0.5693 GB, free: 31.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.3421, allocations: 10.92 kB / 0.5693 GB, free: 31.19 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.651e-05/0.3422, allocations: 171.3 kB / 0.5695 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.3422, allocations: 2.562 kB / 0.5695 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.3422, allocations: 9.562 kB / 0.5695 GB, free: 30.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.599e-05/0.3423, allocations: 49.05 kB / 0.5695 GB, free: 30.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.3423, allocations: 3.938 kB / 0.5695 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.3423, allocations: 3.984 kB / 0.5695 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3424, allocations: 2.75 kB / 0.5695 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.34e-05/0.3424, allocations: 12.73 kB / 0.5696 GB, free: 30.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/0.3425, allocations: 160.3 kB / 0.5697 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.234e-05/0.3426, allocations: 42.95 kB / 0.5697 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.715e-05/0.3427, allocations: 22.27 kB / 0.5698 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.024e-05/0.3427, allocations: 3.938 kB / 0.5698 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.3427, allocations: 36.67 kB / 0.5698 GB, free: 30.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3427, allocations: 0 / 0.5698 GB, free: 30.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001947/0.3446, allocations: 0.4951 MB / 0.5703 GB, free: 30.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.3447, allocations: 53.84 kB / 0.5703 GB, free: 30.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.405e-05/0.3447, allocations: 90.8 kB / 0.5704 GB, free: 30.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.3447, allocations: 30.83 kB / 0.5705 GB, free: 30.12 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.849e-05/0.3448, allocations: 81.69 kB / 0.5705 GB, free: 30.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.3448, allocations: 28.61 kB / 0.5706 GB, free: 30.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.3448, allocations: 22.08 kB / 0.5706 GB, free: 30 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.114e-05/0.3449, allocations: 316.4 kB / 0.5709 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.931e-05/0.345, allocations: 21.84 kB / 0.5709 GB, free: 29.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-05/0.345, allocations: 31.19 kB / 0.5709 GB, free: 29.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001042/0.3451, allocations: 59.61 kB / 0.571 GB, free: 29.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.3451, allocations: 1.312 kB / 0.571 GB, free: 29.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001386/0.3453, allocations: 92.28 kB / 0.5711 GB, free: 29.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3453, allocations: 4.656 kB / 0.5711 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3453, allocations: 1.031 kB / 0.5711 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.3453, allocations: 3.328 kB / 0.5711 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.3455, allocations: 13.19 kB / 0.5711 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3455, allocations: 0 / 0.5711 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.587e-05/0.3456, allocations: 6.344 kB / 0.5711 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.3456, allocations: 2.062 kB / 0.5711 GB, free: 29.57 MB / 446.1 MB 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 7.041e-05/0.3457, allocations: 113.5 kB / 0.5712 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.3457, allocations: 6.125 kB / 0.5712 GB, free: 29.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.796e-05/0.3457, allocations: 15.92 kB / 0.5712 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.3458, allocations: 0 / 0.5712 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3458, allocations: 1.641 kB / 0.5712 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3458, allocations: 0.5156 kB / 0.5712 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.3459, allocations: 180.2 kB / 0.5714 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3459, allocations: 2.328 kB / 0.5714 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.3461, allocations: 22.12 kB / 0.5714 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3461, allocations: 0 / 0.5714 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.3461, allocations: 1.906 kB / 0.5714 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3461, allocations: 5.812 kB / 0.5714 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3461, allocations: 0.8906 kB / 0.5714 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.3464, allocations: 146.8 kB / 0.5716 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.688e-05/0.3464, allocations: 85.91 kB / 0.5717 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.3464, allocations: 2.297 kB / 0.5717 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.3465, allocations: 8.719 kB / 0.5717 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.327e-05/0.3466, allocations: 8.094 kB / 0.5717 GB, free: 29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-06/0.3466, allocations: 1.406 kB / 0.5717 GB, free: 29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.483e-05/0.3466, allocations: 76.91 kB / 0.5718 GB, free: 28.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3466, allocations: 1.094 kB / 0.5718 GB, free: 28.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000194/0.3468, allocations: 14.48 kB / 0.5718 GB, free: 28.92 MB / 446.1 MB 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.0003794/0.3472, allocations: 0.6851 MB / 0.5724 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.3474, allocations: 64.34 kB / 0.5725 GB, free: 28.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3474, allocations: 0 / 0.5725 GB, free: 28.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.275e-05/0.3474, allocations: 33.75 kB / 0.5725 GB, free: 28.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.3476, allocations: 11.38 kB / 0.5725 GB, free: 28.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.3488, allocations: 1.271 MB / 0.5738 GB, free: 27.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.349, allocations: 0.6828 MB / 0.5745 GB, free: 26.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.811e-05/0.349, allocations: 9.75 kB / 0.5745 GB, free: 26.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.308e-05/0.3491, allocations: 11.53 kB / 0.5745 GB, free: 26.37 MB / 446.1 MB Notification: Performance of SimCode: time 4e-07/0.3491, allocations: 1.125 kB / 0.5745 GB, free: 26.37 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.3672, allocations: 1.61 MB / 0.5761 GB, free: 26.06 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.137/7.504, allocations: 13.25 kB / 0.5761 GB, free: 26.05 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)