Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8385/0.8385, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001038, allocations: 185.3 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 221.3 MB / 441.4 MB, free: 4.582 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 101.8 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00181/0.00181, allocations: 270.6 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.195e-05/4.198e-05, allocations: 4 kB / 0.6835 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4723/0.4724, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1324/0.6048, allocations: 109.9 MB / 0.8716 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/0.6052, allocations: 91.81 kB / 0.8717 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.008973/0.6142, allocations: 2.888 MB / 0.8745 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.714e-06/0.6142, allocations: 0 / 0.8745 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.6143, allocations: 0 / 0.8745 GB, free: 11.72 MB / 0.5417 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.0004186/0.6147, allocations: 351.8 kB / 0.8748 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.6147, allocations: 8.031 kB / 0.8748 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000368/0.6151, allocations: 23.97 kB / 0.8748 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.6153, allocations: 167 kB / 0.875 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.6153, allocations: 11.95 kB / 0.875 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.6154, allocations: 0 / 0.875 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.6155, allocations: 54.22 kB / 0.8751 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.6155, allocations: 3.938 kB / 0.8751 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.6155, allocations: 0 / 0.8751 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.6156, allocations: 0 / 0.8751 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.955e-05/0.6156, allocations: 19.98 kB / 0.8751 GB, free: 11 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002359/0.6159, allocations: 169.5 kB / 0.8753 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.6161, allocations: 62.48 kB / 0.8753 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.156e-05/0.6162, allocations: 28.94 kB / 0.8753 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.6162, allocations: 0 / 0.8753 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.6162, allocations: 30.56 kB / 0.8754 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.6162, allocations: 0 / 0.8754 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.002993/0.6192, allocations: 0.5051 MB / 0.8759 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.6193, allocations: 55.41 kB / 0.8759 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.099e-05/0.6194, allocations: 92.98 kB / 0.876 GB, free: 9.93 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.6194, allocations: 25.7 kB / 0.876 GB, free: 9.898 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.562e-05/0.6195, allocations: 80.14 kB / 0.8761 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.6195, allocations: 27.86 kB / 0.8761 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.107e-05/0.6195, allocations: 3.938 kB / 0.8761 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.6197, allocations: 322.8 kB / 0.8764 GB, free: 9.461 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.373e-05/0.6198, allocations: 24 kB / 0.8765 GB, free: 9.438 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.044e-05/0.6198, allocations: 27.98 kB / 0.8765 GB, free: 9.41 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.335e-05/0.6199, allocations: 30.25 kB / 0.8765 GB, free: 9.383 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.6199, allocations: 0 / 0.8765 GB, free: 9.383 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002312/0.6201, allocations: 113.5 kB / 0.8766 GB, free: 9.266 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.6202, allocations: 5.25 kB / 0.8766 GB, free: 9.262 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.6202, allocations: 0 / 0.8766 GB, free: 9.262 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.6202, allocations: 8 kB / 0.8766 GB, free: 9.254 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.6204, allocations: 23.95 kB / 0.8767 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.6205, allocations: 0 / 0.8767 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.6206, allocations: 8 kB / 0.8767 GB, free: 9.223 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.6206, allocations: 7.922 kB / 0.8767 GB, free: 9.215 MB / 0.5417 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 7.869e-05/0.6207, allocations: 105 kB / 0.8768 GB, free: 9.105 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.6207, allocations: 7.953 kB / 0.8768 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.129e-05/0.6208, allocations: 12.09 kB / 0.8768 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.6208, allocations: 4 kB / 0.8768 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.6208, allocations: 0 / 0.8768 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.6208, allocations: 7.922 kB / 0.8768 GB, free: 9.078 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.621, allocations: 188.9 kB / 0.877 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6211, allocations: 7.953 kB / 0.877 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.6213, allocations: 19.97 kB / 0.877 GB, free: 8.816 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/0.6213, allocations: 4.062 kB / 0.877 GB, free: 8.812 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.6213, allocations: 11.98 kB / 0.877 GB, free: 8.801 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.6213, allocations: 0 / 0.877 GB, free: 8.801 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6214, allocations: 0 / 0.877 GB, free: 8.801 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000338/0.6217, allocations: 172.9 kB / 0.8772 GB, free: 8.613 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.6218, allocations: 85.12 kB / 0.8773 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.6218, allocations: 0 / 0.8773 GB, free: 8.512 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.622, allocations: 12.02 kB / 0.8773 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.011e-05/0.622, allocations: 4 kB / 0.8773 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.622, allocations: 7.984 kB / 0.8773 GB, free: 8.488 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.66e-05/0.6221, allocations: 79.28 kB / 0.8774 GB, free: 8.41 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6221, allocations: 0 / 0.8774 GB, free: 8.41 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002645/0.6223, allocations: 28.09 kB / 0.8774 GB, free: 8.383 MB / 0.5417 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.0002862/0.6226, allocations: 143.2 kB / 0.8775 GB, free: 8.23 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001969/0.6228, allocations: 75.84 kB / 0.8776 GB, free: 8.156 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.6229, allocations: 0 / 0.8776 GB, free: 8.156 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.011e-05/0.623, allocations: 39.97 kB / 0.8777 GB, free: 8.117 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.6231, allocations: 4 kB / 0.8777 GB, free: 8.113 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000524/0.6236, allocations: 110.9 kB / 0.8778 GB, free: 7.984 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.624, allocations: 0.6887 MB / 0.8784 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002461/0.6242, allocations: 31.88 kB / 0.8785 GB, free: 7.238 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.793e-05/0.6243, allocations: 15.42 kB / 0.8785 GB, free: 7.223 MB / 0.5417 GB Notification: Performance of SimCode: time 4.61e-07/0.6243, allocations: 0 / 0.8785 GB, free: 7.223 MB / 0.5417 GB Notification: Performance of Templates: time 0.004301/0.6286, allocations: 1.48 MB / 0.8799 GB, free: 5.785 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)