Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.39/1.39, allocations: 249.5 MB / 257 MB, free: 6.883 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009652/0.0009654, allocations: 184.6 kB / 316.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007771/0.0007771, allocations: 111.3 kB / 0.6715 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.215e-05/2.214e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2141, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7569/0.9711, allocations: 132.1 MB / 1.014 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.9714, allocations: 84.84 kB / 1.014 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004828/0.9763, allocations: 1.824 MB / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9763, allocations: 0 / 1.016 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.9763, allocations: 4 kB / 1.016 GB, free: 3.625 MB / 0.6355 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.000364/0.9767, allocations: 340.9 kB / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.9767, allocations: 12.97 kB / 1.017 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.9769, allocations: 7.984 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.977, allocations: 163 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.977, allocations: 7.938 kB / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.977, allocations: 0 / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.695e-05/0.9771, allocations: 11.88 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.263e-05/0.9772, allocations: 45.31 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.9772, allocations: 0 / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.9773, allocations: 0 / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.9773, allocations: 0 / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.9774, allocations: 141.3 kB / 1.017 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.78e-05/0.9775, allocations: 41.95 kB / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.615e-05/0.9776, allocations: 16.61 kB / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.9776, allocations: 4 kB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.9776, allocations: 38.5 kB / 1.017 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 5.009e-06/0.9776, allocations: 0 / 1.017 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.001806/0.9794, allocations: 479.2 kB / 1.017 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.9795, allocations: 51.41 kB / 1.018 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.42e-05/0.9795, allocations: 85 kB / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.9795, allocations: 25.7 kB / 1.018 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.9796, allocations: 80.14 kB / 1.018 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.792e-05/0.9796, allocations: 27.25 kB / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.9796, allocations: 0 / 1.018 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.9798, allocations: 318.8 kB / 1.018 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.392e-05/0.9798, allocations: 19.69 kB / 1.018 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.662e-05/0.9799, allocations: 23.38 kB / 1.018 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.313e-05/0.9799, allocations: 19.81 kB / 1.018 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.9799, allocations: 3.953 kB / 1.018 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001241/0.98, allocations: 88.7 kB / 1.018 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.9801, allocations: 4 kB / 1.018 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.9801, allocations: 0 / 1.018 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.9801, allocations: 7.984 kB / 1.018 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.9802, allocations: 12 kB / 1.018 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.9803, allocations: 4.078 kB / 1.018 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.875e-05/0.9803, allocations: 0 / 1.018 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.9803, allocations: 8.141 kB / 1.018 GB, free: 1.461 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.362e-05/0.9804, allocations: 108.9 kB / 1.018 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001173/0.9806, allocations: 84.92 kB / 1.018 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.9806, allocations: 7.938 kB / 1.018 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.219e-05/0.9806, allocations: 12.28 kB / 1.018 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.9806, allocations: 0 / 1.018 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.9807, allocations: 0 / 1.018 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.9807, allocations: 4 kB / 1.018 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.9808, allocations: 159.5 kB / 1.019 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.9808, allocations: 0 / 1.019 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.9809, allocations: 15.94 kB / 1.019 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.981, allocations: 4 kB / 1.019 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.981, allocations: 0 / 1.019 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.981, allocations: 0 / 1.019 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.981, allocations: 0 / 1.019 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.9812, allocations: 151 kB / 1.019 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.702e-05/0.9812, allocations: 77.11 kB / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.9813, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.35e-05/0.9814, allocations: 4.031 kB / 1.019 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.472e-05/0.9814, allocations: 7.984 kB / 1.019 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.9814, allocations: 4.188 kB / 1.019 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.077e-05/0.9814, allocations: 75.28 kB / 1.019 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9815, allocations: 0 / 1.019 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001851/0.9816, allocations: 12 kB / 1.019 GB, free: 0.7188 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004566/0.9821, allocations: 0.6777 MB / 1.02 GB, free: 44 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.9822, allocations: 51.06 kB / 1.02 GB, free: 8 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.9822, allocations: 4 kB / 1.02 GB, free: 4 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.952e-05/0.9823, allocations: 27.8 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.9825, allocations: 8.656 kB / 1.02 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005365/0.983, allocations: 149.4 kB / 1.02 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.9833, allocations: 0.6807 MB / 1.02 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.108e-05/0.9834, allocations: 12.17 kB / 1.021 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.9834, allocations: 15.31 kB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of SimCode: time 4.8e-07/0.9834, allocations: 0 / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/1.002, allocations: 1.096 MB / 1.022 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002233/1.002, allocations: 210.4 kB / 1.022 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/2.512, allocations: 0 / 1.022 GB, free: 13.74 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)