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.682/1.682, allocations: 249.3 MB / 261.8 MB, free: 5.84 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.001069/0.001069, allocations: 172.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.2 MB / 0.572 GB, free: 10.71 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.0009463/0.0009463, allocations: 84.64 kB / 0.6764 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.031e-05/4.056e-05, allocations: 4 kB / 0.7881 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2088, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7596/0.9685, allocations: 131.9 MB / 1.021 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.9688, allocations: 84.92 kB / 1.021 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005937/0.9748, allocations: 1.839 MB / 1.023 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9748, allocations: 0 / 1.023 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.9748, allocations: 0 / 1.023 GB, free: 1.238 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.0004535/0.9753, allocations: 334.1 kB / 1.023 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.547e-05/0.9754, allocations: 12.03 kB / 1.023 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.771e-05/0.9754, allocations: 34.5 kB / 1.023 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002096/0.9757, allocations: 11.98 kB / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.9758, allocations: 163 kB / 1.023 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.9758, allocations: 3.5 kB / 1.023 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.9759, allocations: 4 kB / 1.023 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.9761, allocations: 45.62 kB / 1.023 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.9761, allocations: 0 / 1.023 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.9761, allocations: 0 / 1.023 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.9761, allocations: 8 kB / 1.023 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.166e-05/0.9762, allocations: 15.12 kB / 1.023 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002624/0.9765, allocations: 160.6 kB / 1.023 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.9766, allocations: 41.56 kB / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.641e-05/0.9767, allocations: 28.16 kB / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.9767, allocations: 0 / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.9768, allocations: 35.62 kB / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.9768, allocations: 0 / 1.023 GB, free: 236 kB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.002789/0.9796, allocations: 478.7 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.9796, allocations: 63.34 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.264e-05/0.9797, allocations: 87.75 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.9797, allocations: 25.7 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.225e-05/0.9798, allocations: 84.08 kB / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.546e-05/0.9799, allocations: 30.73 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-06/0.9799, allocations: 2.688 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.98, allocations: 314.8 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.42e-05/0.9801, allocations: 22.06 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.527e-05/0.9802, allocations: 27.5 kB / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.273e-05/0.9803, allocations: 26.73 kB / 1.025 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.9803, allocations: 0 / 1.025 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000227/0.9805, allocations: 96.34 kB / 1.025 GB, free: 15 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.9806, allocations: 4 kB / 1.025 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.9806, allocations: 0 / 1.025 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.9806, allocations: 0 / 1.025 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.9808, allocations: 16.23 kB / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.9808, allocations: 4.859 kB / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.106e-05/0.9809, allocations: 4 kB / 1.025 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.981, allocations: 0 / 1.025 GB, free: 14.97 MB / 0.6511 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 0.0001032/0.9811, allocations: 120.3 kB / 1.025 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.9811, allocations: 0 / 1.025 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.385e-05/0.9812, allocations: 14.09 kB / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.9812, allocations: 4 kB / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.9812, allocations: 0 / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.9812, allocations: 0 / 1.025 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.9815, allocations: 188.9 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.9815, allocations: 0 / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.9817, allocations: 15.98 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.9817, allocations: 4 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.9817, allocations: 3.25 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.9817, allocations: 4 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.9817, allocations: 0 / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003537/0.9821, allocations: 145 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.258e-05/0.9822, allocations: 85 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.9822, allocations: 3.938 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.9824, allocations: 11.5 kB / 1.025 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.842e-05/0.9824, allocations: 7.984 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.9824, allocations: 0 / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.837e-05/0.9825, allocations: 75.28 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9825, allocations: 0 / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003566/0.9829, allocations: 15.88 kB / 1.025 GB, free: 14.26 MB / 0.6511 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.0008367/0.9837, allocations: 0.6866 MB / 1.026 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002187/0.9839, allocations: 60.09 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.984, allocations: 192 / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.974e-05/0.984, allocations: 30.44 kB / 1.026 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.9843, allocations: 9.969 kB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008333/0.9851, allocations: 150.7 kB / 1.026 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.9855, allocations: 0.6848 MB / 1.027 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001452/0.9856, allocations: 8.188 kB / 1.027 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.821e-05/0.9857, allocations: 15.42 kB / 1.027 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of SimCode: time 5.41e-07/0.9857, allocations: 0 / 1.027 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01422/1, allocations: 1.41 MB / 1.028 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000288/1, allocations: 218.9 kB / 1.028 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/2.546, allocations: 0 / 1.028 GB, free: 11.18 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)