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.001019/0.001019, allocations: 106.4 kB / 16.27 MB, free: 6.41 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.001019/0.001019, allocations: 186.7 kB / 17.2 MB, free: 5.953 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.433/1.433, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.764/0.764, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.91 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4022, allocations: 77.92 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.00316/0.4055, allocations: 1.247 MB / 0.5685 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005664/0.4061, allocations: 231.7 kB / 0.5687 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.402e-05/0.4061, allocations: 0 / 0.5687 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.015e-05/0.4061, allocations: 3.938 kB / 0.5687 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.314e-05/0.4062, allocations: 5.016 kB / 0.5687 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003667/0.4066, allocations: 40.25 kB / 0.5688 GB, free: 31.67 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.43e-05/0.4067, allocations: 19.16 kB / 0.5688 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.282e-05/0.4068, allocations: 2.312 kB / 0.5688 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.252e-05/0.4068, allocations: 10.12 kB / 0.5688 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.617e-05/0.4069, allocations: 15.2 kB / 0.5688 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.4069, allocations: 1.125 kB / 0.5688 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.4071, allocations: 43.95 kB / 0.5689 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.771e-05/0.4071, allocations: 10.72 kB / 0.5689 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.006e-05/0.4071, allocations: 8.094 kB / 0.5689 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.4073, allocations: 44.17 kB / 0.5689 GB, free: 31.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4073, allocations: 0 / 0.5689 GB, free: 31.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.4073, allocations: 0 / 0.5689 GB, free: 31.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.4073, allocations: 0 / 0.5689 GB, free: 31.62 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.000508/0.4078, allocations: 336.7 kB / 0.5693 GB, free: 31.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.4079, allocations: 9.75 kB / 0.5693 GB, free: 31.26 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.4079, allocations: 36.61 kB / 0.5693 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.4081, allocations: 10.02 kB / 0.5693 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.894e-05/0.4082, allocations: 174.3 kB / 0.5695 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.4082, allocations: 1.469 kB / 0.5695 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.4083, allocations: 7.094 kB / 0.5695 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.4084, allocations: 47.34 kB / 0.5695 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.4084, allocations: 4.906 kB / 0.5695 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.4084, allocations: 1.188 kB / 0.5695 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.4084, allocations: 1.094 kB / 0.5695 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.147e-05/0.4085, allocations: 14.77 kB / 0.5695 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.4087, allocations: 157.3 kB / 0.5697 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.4088, allocations: 44.41 kB / 0.5697 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.719e-05/0.4089, allocations: 23.77 kB / 0.5698 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.224e-05/0.4089, allocations: 6.031 kB / 0.5698 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.4089, allocations: 33.39 kB / 0.5698 GB, free: 30.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.4089, allocations: 1 kB / 0.5698 GB, free: 30.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.002058/0.411, allocations: 498.4 kB / 0.5703 GB, free: 30.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.411, allocations: 54.16 kB / 0.5703 GB, free: 30.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.088e-05/0.411, allocations: 89.86 kB / 0.5704 GB, free: 30.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.4111, allocations: 28.22 kB / 0.5704 GB, free: 30.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.898e-05/0.4111, allocations: 80.7 kB / 0.5705 GB, free: 30.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.4111, allocations: 32.23 kB / 0.5705 GB, free: 30.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.4112, allocations: 25.14 kB / 0.5706 GB, free: 30.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.843e-05/0.4112, allocations: 314.9 kB / 0.5709 GB, free: 29.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.841e-05/0.4113, allocations: 27.64 kB / 0.5709 GB, free: 29.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.076e-05/0.4113, allocations: 25.36 kB / 0.5709 GB, free: 29.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.647e-05/0.4114, allocations: 57.53 kB / 0.571 GB, free: 29.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4114, allocations: 4 kB / 0.571 GB, free: 29.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001472/0.4116, allocations: 98.66 kB / 0.5711 GB, free: 29.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.4116, allocations: 6.562 kB / 0.5711 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4116, allocations: 1.906 kB / 0.5711 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.4117, allocations: 0 / 0.5711 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.4118, allocations: 15.53 kB / 0.5711 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.4118, allocations: 1.062 kB / 0.5711 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.147e-05/0.4119, allocations: 2.375 kB / 0.5711 GB, free: 29.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.4119, allocations: 5.125 kB / 0.5711 GB, free: 29.6 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 6.15e-05/0.412, allocations: 113.8 kB / 0.5712 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.412, allocations: 11.33 kB / 0.5712 GB, free: 29.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.468e-05/0.412, allocations: 17.58 kB / 0.5712 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.412, allocations: 1.312 kB / 0.5712 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.412, allocations: 0 / 0.5712 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.4121, allocations: 2.375 kB / 0.5712 GB, free: 29.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.4122, allocations: 172.4 kB / 0.5714 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.4122, allocations: 0.5156 kB / 0.5714 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.4123, allocations: 20.95 kB / 0.5714 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4123, allocations: 2.109 kB / 0.5714 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.4124, allocations: 1.938 kB / 0.5714 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4124, allocations: 3.938 kB / 0.5714 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4124, allocations: 3.453 kB / 0.5714 GB, free: 29.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.4126, allocations: 150.1 kB / 0.5716 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.4127, allocations: 83.7 kB / 0.5717 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.4127, allocations: 5.797 kB / 0.5717 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.4128, allocations: 5.422 kB / 0.5717 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.4128, allocations: 10.03 kB / 0.5717 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.4129, allocations: 2.188 kB / 0.5717 GB, free: 29.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.547e-05/0.4129, allocations: 75.28 kB / 0.5718 GB, free: 28.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4129, allocations: 1.094 kB / 0.5718 GB, free: 28.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002072/0.4131, allocations: 11.08 kB / 0.5718 GB, free: 28.95 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.0004055/0.4135, allocations: 0.6876 MB / 0.5724 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.4137, allocations: 61.72 kB / 0.5725 GB, free: 28.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.4137, allocations: 1.469 kB / 0.5725 GB, free: 28.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.412e-05/0.4138, allocations: 37.08 kB / 0.5725 GB, free: 28.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.414, allocations: 11.23 kB / 0.5725 GB, free: 28.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.4152, allocations: 1.266 MB / 0.5738 GB, free: 27.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.4153, allocations: 0.6826 MB / 0.5745 GB, free: 26.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.911e-05/0.4154, allocations: 13.11 kB / 0.5745 GB, free: 26.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.288e-05/0.4155, allocations: 16.66 kB / 0.5745 GB, free: 26.39 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.4155, allocations: 0 / 0.5745 GB, free: 26.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01927/0.4348, allocations: 1.61 MB / 0.5761 GB, free: 26.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.759/8.194, allocations: 6.844 kB / 0.5761 GB, free: 26.09 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)