Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.534/2.534, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001425/0.001425, allocations: 188.8 kB / 360.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.2 MB / 0.6191 GB, free: 12.22 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.001099/0.001099, allocations: 94 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.425e-05/3.421e-05, allocations: 4 kB / 0.8509 GB, free: 3.355 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8253/0.8253, allocations: 115.3 MB / 0.9634 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2431/1.069, allocations: 138.3 MB / 1.099 GB, free: 2.148 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003515/1.069, allocations: 88.5 kB / 1.099 GB, free: 2.062 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01452/1.083, allocations: 2.827 MB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.823e-06/1.084, allocations: 0 / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.415e-05/1.084, allocations: 3.062 kB / 1.101 GB, free: 15.3 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.000492/1.084, allocations: 354.4 kB / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/1.084, allocations: 8.688 kB / 1.102 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005708/1.085, allocations: 25.17 kB / 1.102 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/1.085, allocations: 174.5 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/1.085, allocations: 0 / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/1.085, allocations: 3.906 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001228/1.085, allocations: 23.94 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/1.085, allocations: 53.64 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/1.085, allocations: 1.5 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/1.085, allocations: 0 / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/1.085, allocations: 3 kB / 1.102 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002164/1.086, allocations: 154.1 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/1.086, allocations: 50.59 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.238e-05/1.086, allocations: 16.86 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/1.086, allocations: 0 / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/1.086, allocations: 38.5 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/1.086, allocations: 0 / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.002782/1.089, allocations: 422.2 kB / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/1.089, allocations: 51.41 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.33e-05/1.089, allocations: 96.98 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/1.089, allocations: 29.83 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/1.089, allocations: 80.14 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.674e-05/1.089, allocations: 23.66 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.53e-05/1.089, allocations: 0 / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001283/1.089, allocations: 318.1 kB / 1.103 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.59e-05/1.089, allocations: 24 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.142e-05/1.089, allocations: 30.95 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/1.09, allocations: 31.94 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/1.09, allocations: 0 / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003171/1.09, allocations: 105.6 kB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/1.09, allocations: 6.031 kB / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/1.09, allocations: 0 / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/1.09, allocations: 0 / 1.103 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00039/1.09, allocations: 31.89 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.79e-06/1.09, allocations: 0 / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/1.091, allocations: 4 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/1.091, allocations: 7.984 kB / 1.103 GB, free: 12.95 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 0.0001629/1.091, allocations: 112.7 kB / 1.104 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003873/1.091, allocations: 97.64 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/1.091, allocations: 3.906 kB / 1.104 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/1.091, allocations: 13.72 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/1.091, allocations: 0 / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.092, allocations: 4 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.092, allocations: 0 / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/1.092, allocations: 166.7 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/1.092, allocations: 5.562 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004039/1.092, allocations: 27.89 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/1.092, allocations: 4 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/1.092, allocations: 0 / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/1.092, allocations: 0 / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.092, allocations: 0 / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004743/1.093, allocations: 169 kB / 1.104 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/1.093, allocations: 85.12 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/1.093, allocations: 3 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/1.093, allocations: 9.5 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.022e-05/1.093, allocations: 3.984 kB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/1.093, allocations: 8.172 kB / 1.104 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.621e-05/1.093, allocations: 83.34 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.093, allocations: 0 / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003673/1.094, allocations: 32 kB / 1.104 GB, free: 12.06 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.0009261/1.095, allocations: 0.7255 MB / 1.105 GB, free: 11.3 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002538/1.095, allocations: 76.11 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.095, allocations: 0 / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/1.095, allocations: 39.92 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002028/1.095, allocations: 0 / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009733/1.096, allocations: 155.5 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/1.097, allocations: 0.6807 MB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004214/1.097, allocations: 36.69 kB / 1.106 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/1.097, allocations: 24.81 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of SimCode: time 1.223e-06/1.097, allocations: 0 / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03945/1.137, allocations: 1.933 MB / 1.108 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003893/1.137, allocations: 198.1 kB / 1.108 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.5/3.637, allocations: 5.656 kB / 1.108 GB, free: 8.098 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_8_0_0_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)