Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.992/1.992, allocations: 285.6 MB / 293.1 MB, free: 10.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001274/0.001273, allocations: 180.8 kB / 361.4 MB, free: 6.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.841/1.841, allocations: 205.2 MB / 0.62 GB, free: 11.63 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001395/0.001396, allocations: 88.97 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.718e-05/3.733e-05, allocations: 7.984 kB / 0.8519 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7725/0.7725, allocations: 115.3 MB / 0.9645 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1849/0.9575, allocations: 138.5 MB / 1.1 GB, free: 1.199 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.9578, allocations: 81.31 kB / 1.1 GB, free: 1.121 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008504/0.9663, allocations: 2.831 MB / 1.103 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9664, allocations: 0.5938 kB / 1.103 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.9664, allocations: 1.781 kB / 1.103 GB, free: 14.36 MB / 0.7136 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.0003408/0.9667, allocations: 354.4 kB / 1.103 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.9668, allocations: 12.03 kB / 1.103 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003502/0.9671, allocations: 31.97 kB / 1.103 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.9673, allocations: 165.7 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.9673, allocations: 3.984 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.9673, allocations: 11.89 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.144e-05/0.9674, allocations: 12 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.084e-05/0.9675, allocations: 53.59 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.9675, allocations: 0 / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.9676, allocations: 3.938 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.9676, allocations: 5.219 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.9678, allocations: 142.2 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.9679, allocations: 56.41 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.076e-05/0.968, allocations: 24.94 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.968, allocations: 4 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.9681, allocations: 30.56 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.442e-06/0.9681, allocations: 0 / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.001543/0.9696, allocations: 417 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.9697, allocations: 59.41 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.325e-05/0.9697, allocations: 92.98 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.9698, allocations: 25.7 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.363e-05/0.9698, allocations: 84.14 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.9698, allocations: 15.66 kB / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.279e-05/0.9699, allocations: 0 / 1.104 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.97, allocations: 322.8 kB / 1.104 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.291e-05/0.97, allocations: 28.11 kB / 1.104 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5e-05/0.9701, allocations: 31.98 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.87e-05/0.9702, allocations: 23.98 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.9702, allocations: 0 / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001805/0.9704, allocations: 109.6 kB / 1.105 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.9704, allocations: 4 kB / 1.105 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.9704, allocations: 2.906 kB / 1.105 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.9704, allocations: 0 / 1.105 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.9706, allocations: 27.95 kB / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.9706, allocations: 0 / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.9708, allocations: 8 kB / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.9708, allocations: 7.984 kB / 1.105 GB, free: 12.01 MB / 0.7136 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.296e-05/0.9709, allocations: 104.9 kB / 1.105 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001761/0.9711, allocations: 102.7 kB / 1.105 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.9711, allocations: 7.906 kB / 1.105 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.33e-05/0.9712, allocations: 8.406 kB / 1.105 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.9712, allocations: 0 / 1.105 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.9712, allocations: 0 / 1.105 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.9712, allocations: 4 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.9714, allocations: 169.3 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.9714, allocations: 0 / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.9716, allocations: 23.97 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.9716, allocations: 4 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.9717, allocations: 5.859 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.9717, allocations: 0 / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.9717, allocations: 4.188 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.972, allocations: 161 kB / 1.105 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.465e-05/0.972, allocations: 85.05 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.9721, allocations: 3.984 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.9722, allocations: 12.09 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.9723, allocations: 3.984 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.9723, allocations: 4 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.559e-05/0.9723, allocations: 79.83 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9723, allocations: 0 / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002816/0.9726, allocations: 36 kB / 1.105 GB, free: 11.12 MB / 0.7136 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.0006234/0.9732, allocations: 0.7402 MB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001527/0.9734, allocations: 67.95 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.9734, allocations: 0 / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.069e-05/0.9735, allocations: 37.14 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.9736, allocations: 9.953 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006254/0.9743, allocations: 155.5 kB / 1.106 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.9745, allocations: 0.6814 MB / 1.107 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002424/0.9748, allocations: 29.28 kB / 1.107 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.207e-05/0.9749, allocations: 23.41 kB / 1.107 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of SimCode: time 3.71e-07/0.9749, allocations: 3.938 kB / 1.107 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02012/0.995, allocations: 1.928 MB / 1.109 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000361/0.9954, allocations: 216.8 kB / 1.109 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.46/2.456, allocations: 0 / 1.109 GB, free: 7.125 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_maint_8_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)