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.SaturationPressureDerivativeCheck.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.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.461/1.461, allocations: 249.3 MB / 261.8 MB, free: 5.828 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.000999/0.0009991, allocations: 188.5 kB / 321.3 MB, free: 14.63 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.667/1.667, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0008242/0.0008243, allocations: 92.39 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.511e-05/3.539e-05, allocations: 0 / 0.788 GB, free: 96.98 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2068, allocations: 106.3 MB / 0.8919 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7438/0.9506, allocations: 132.9 MB / 1.022 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/0.951, allocations: 88.36 kB / 1.022 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009238/0.9603, allocations: 2.848 MB / 1.025 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.525e-06/0.9603, allocations: 0 / 1.025 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.9603, allocations: 0 / 1.025 GB, free: 15.34 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004567/0.9608, allocations: 349.8 kB / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.257e-05/0.9609, allocations: 12.03 kB / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.216e-05/0.9609, allocations: 30.56 kB / 1.025 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003645/0.9613, allocations: 23.97 kB / 1.025 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.9615, allocations: 182.2 kB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.9615, allocations: 0 / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.9615, allocations: 4 kB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.9617, allocations: 48.17 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.9617, allocations: 0 / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.9617, allocations: 0 / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.9618, allocations: 0 / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.074e-05/0.9618, allocations: 23.84 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002845/0.9621, allocations: 176.4 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.9624, allocations: 58.06 kB / 1.025 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.07e-05/0.9624, allocations: 19.8 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.9625, allocations: 0 / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.9625, allocations: 42.64 kB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.9625, allocations: 0 / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of matching and sorting (n=6): time 0.003038/0.9655, allocations: 0.5067 MB / 1.026 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.9656, allocations: 54.53 kB / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.502e-05/0.9657, allocations: 92.94 kB / 1.026 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.9657, allocations: 25.7 kB / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.527e-05/0.9658, allocations: 83.27 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.9658, allocations: 27.84 kB / 1.026 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.025e-05/0.9658, allocations: 11.56 kB / 1.026 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.966, allocations: 314.8 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.912e-05/0.9661, allocations: 30.42 kB / 1.027 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.877e-05/0.9661, allocations: 34.09 kB / 1.027 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.752e-05/0.9662, allocations: 22.8 kB / 1.027 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.9662, allocations: 0 / 1.027 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002193/0.9664, allocations: 110 kB / 1.027 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.9665, allocations: 4 kB / 1.027 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.9665, allocations: 0 / 1.027 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.9665, allocations: 4 kB / 1.027 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.9667, allocations: 27.34 kB / 1.027 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.9667, allocations: 0 / 1.027 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.9669, allocations: 11.92 kB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.9669, allocations: 7.984 kB / 1.027 GB, free: 12.92 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 (7): * Single equations (assignments): 7 * 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 8.643e-05/0.967, allocations: 108.4 kB / 1.027 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.967, allocations: 4 kB / 1.027 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.124e-05/0.9671, allocations: 11.66 kB / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.9671, allocations: 0 / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.9671, allocations: 0 / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.9672, allocations: 0 / 1.027 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.9674, allocations: 199.5 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.9674, allocations: 4 kB / 1.027 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/0.9676, allocations: 23.97 kB / 1.027 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.9676, allocations: 0 / 1.027 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.9677, allocations: 3.984 kB / 1.027 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.9677, allocations: 4 kB / 1.027 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.9677, allocations: 0 / 1.027 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.968, allocations: 167.1 kB / 1.027 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.619e-05/0.9681, allocations: 85.11 kB / 1.027 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.9681, allocations: 7.984 kB / 1.027 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.9683, allocations: 15.69 kB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.9683, allocations: 4.109 kB / 1.027 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.9683, allocations: 8 kB / 1.027 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.82e-05/0.9684, allocations: 79.27 kB / 1.027 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9684, allocations: 0 / 1.027 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000265/0.9687, allocations: 35.62 kB / 1.027 GB, free: 12.15 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 (6): * Single equations (assignments): 6 * 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.0007358/0.9694, allocations: 0.7341 MB / 1.028 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002005/0.9696, allocations: 75.77 kB / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.9696, allocations: 3.812 kB / 1.028 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.099e-05/0.9697, allocations: 35.3 kB / 1.028 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.9699, allocations: 11.25 kB / 1.028 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006912/0.9706, allocations: 158.2 kB / 1.028 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.9709, allocations: 0.6809 MB / 1.029 GB, free: 10.44 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002422/0.9711, allocations: 32.61 kB / 1.029 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.13e-05/0.9712, allocations: 22.91 kB / 1.029 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.9712, allocations: 0 / 1.029 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01321/0.9844, allocations: 2.275 MB / 1.031 GB, free: 8.316 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/0.9847, allocations: 223.3 kB / 1.032 GB, free: 8.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.543, allocations: 0 / 1.032 GB, free: 8.09 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)