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.8101/0.8101, allocations: 143.4 MB / 159.2 MB, free: 4.883 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 187 kB / 191.9 MB, free: 5.727 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.561/1.561, allocations: 222.9 MB / 447.3 MB, free: 5.875 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.001104/0.001104, allocations: 106.6 kB / 0.517 GB, free: 3.734 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001926/0.001926, allocations: 281.3 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001534, allocations: 79.88 kB / 0.6886 GB, free: 3.832 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3268, allocations: 81.28 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002015/0.3288, allocations: 1.357 MB / 0.7693 GB, free: 26.31 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008217/0.3297, allocations: 0.6524 MB / 0.7699 GB, free: 25.66 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.558e-05/0.3297, allocations: 4 kB / 0.7699 GB, free: 25.66 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.3297, allocations: 3.984 kB / 0.7699 GB, free: 25.65 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.424e-05/0.3298, allocations: 7.938 kB / 0.7699 GB, free: 25.64 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003711/0.3302, allocations: 87.69 kB / 0.77 GB, free: 25.56 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.104e-05/0.3302, allocations: 27.86 kB / 0.77 GB, free: 25.53 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.104e-05/0.3303, allocations: 0 / 0.77 GB, free: 25.53 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.964e-05/0.3303, allocations: 8 kB / 0.77 GB, free: 25.52 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.814e-05/0.3304, allocations: 15.92 kB / 0.77 GB, free: 25.51 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.3304, allocations: 0 / 0.77 GB, free: 25.51 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002279/0.3306, allocations: 151.7 kB / 0.7702 GB, free: 25.36 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.084e-05/0.3306, allocations: 8 kB / 0.7702 GB, free: 25.35 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 2.347e-05/0.3307, allocations: 15.91 kB / 0.7702 GB, free: 25.34 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.3308, allocations: 90.56 kB / 0.7703 GB, free: 25.25 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3308, allocations: 0 / 0.7703 GB, free: 25.25 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.3309, allocations: 0 / 0.7703 GB, free: 25.25 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.3309, allocations: 0 / 0.7703 GB, free: 25.25 MB / 458.7 MB 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.0003688/0.3312, allocations: 355.5 kB / 0.7706 GB, free: 24.85 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.3313, allocations: 8.031 kB / 0.7707 GB, free: 24.84 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003791/0.3317, allocations: 32.91 kB / 0.7707 GB, free: 24.81 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.771e-05/0.3317, allocations: 180.2 kB / 0.7709 GB, free: 24.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-06/0.3318, allocations: 384 / 0.7709 GB, free: 24.6 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.3318, allocations: 384 / 0.7709 GB, free: 24.6 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.3319, allocations: 54.22 kB / 0.7709 GB, free: 24.54 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.332, allocations: 192 / 0.7709 GB, free: 24.54 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.332, allocations: 7.938 kB / 0.7709 GB, free: 24.53 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.974e-06/0.332, allocations: 0 / 0.7709 GB, free: 24.53 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.3321, allocations: 31.97 kB / 0.7709 GB, free: 24.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001317/0.3323, allocations: 157.7 kB / 0.7711 GB, free: 24.3 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.3326, allocations: 74.52 kB / 0.7712 GB, free: 24.21 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.386e-05/0.3327, allocations: 28.92 kB / 0.7712 GB, free: 24.18 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.3327, allocations: 0 / 0.7712 GB, free: 24.18 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.315e-05/0.3327, allocations: 34.56 kB / 0.7712 GB, free: 24.14 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.3327, allocations: 0 / 0.7712 GB, free: 24.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.003078/0.3358, allocations: 0.584 MB / 0.7718 GB, free: 23.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.3358, allocations: 51.41 kB / 0.7718 GB, free: 23.44 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.911e-05/0.3359, allocations: 101.8 kB / 0.7719 GB, free: 23.33 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.3359, allocations: 25.7 kB / 0.772 GB, free: 23.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.821e-05/0.3359, allocations: 84.27 kB / 0.772 GB, free: 23.21 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.336, allocations: 23.66 kB / 0.7721 GB, free: 23.19 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.095e-05/0.336, allocations: 25.69 kB / 0.7721 GB, free: 23.16 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.663e-05/0.3361, allocations: 318.8 kB / 0.7724 GB, free: 22.84 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.3362, allocations: 31.97 kB / 0.7724 GB, free: 22.81 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.3363, allocations: 39.97 kB / 0.7725 GB, free: 22.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.3366, allocations: 76.81 kB / 0.7725 GB, free: 22.69 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3366, allocations: 4 kB / 0.7725 GB, free: 22.69 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003161/0.3369, allocations: 125.6 kB / 0.7727 GB, free: 22.56 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3369, allocations: 11.88 kB / 0.7727 GB, free: 22.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3369, allocations: 0 / 0.7727 GB, free: 22.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.337, allocations: 3.938 kB / 0.7727 GB, free: 22.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.3372, allocations: 23.97 kB / 0.7727 GB, free: 22.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3372, allocations: 0 / 0.7727 GB, free: 22.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.3373, allocations: 11.98 kB / 0.7727 GB, free: 22.51 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.3374, allocations: 7.984 kB / 0.7727 GB, free: 22.5 MB / 458.7 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.118e-05/0.3374, allocations: 109.8 kB / 0.7728 GB, free: 22.38 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.3374, allocations: 7.844 kB / 0.7728 GB, free: 22.38 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.636e-05/0.3375, allocations: 11.97 kB / 0.7728 GB, free: 22.36 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3375, allocations: 4 kB / 0.7728 GB, free: 22.36 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3375, allocations: 0 / 0.7728 GB, free: 22.36 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3375, allocations: 0 / 0.7728 GB, free: 22.36 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.872e-05/0.3376, allocations: 187.7 kB / 0.773 GB, free: 22.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3376, allocations: 0 / 0.773 GB, free: 22.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.3378, allocations: 23.97 kB / 0.773 GB, free: 22.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3378, allocations: 3.938 kB / 0.7731 GB, free: 22.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.3379, allocations: 3.984 kB / 0.7731 GB, free: 22.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3379, allocations: 0 / 0.7731 GB, free: 22.09 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3379, allocations: 3.938 kB / 0.7731 GB, free: 22.09 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005694/0.3436, allocations: 1.589 MB / 0.7746 GB, free: 20.35 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.688e-05/0.3436, allocations: 77.2 kB / 0.7747 GB, free: 20.25 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.3436, allocations: 8 kB / 0.7747 GB, free: 20.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.3438, allocations: 12.02 kB / 0.7747 GB, free: 20.23 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.856e-05/0.3439, allocations: 4 kB / 0.7747 GB, free: 20.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.3439, allocations: 3.984 kB / 0.7747 GB, free: 20.23 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.835e-05/0.3439, allocations: 79.28 kB / 0.7748 GB, free: 20.15 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3439, allocations: 0 / 0.7748 GB, free: 20.15 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002953/0.3442, allocations: 32 kB / 0.7748 GB, free: 20.12 MB / 458.7 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001761/0.3444, allocations: 139.8 kB / 0.775 GB, free: 19.97 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003259/0.3447, allocations: 91.8 kB / 0.775 GB, free: 19.88 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3447, allocations: 0 / 0.775 GB, free: 19.88 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.3449, allocations: 47.97 kB / 0.7751 GB, free: 19.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.3451, allocations: 8.859 kB / 0.7751 GB, free: 19.83 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006148/0.3457, allocations: 286.7 kB / 0.7754 GB, free: 19.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.897e-05/0.3458, allocations: 0.6848 MB / 0.776 GB, free: 18.79 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002204/0.346, allocations: 31.88 kB / 0.7761 GB, free: 18.76 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.917e-05/0.3461, allocations: 19.41 kB / 0.7761 GB, free: 18.74 MB / 458.7 MB Notification: Performance of SimCode: time 2.01e-07/0.3461, allocations: 0 / 0.7761 GB, free: 18.74 MB / 458.7 MB Notification: Performance of Templates: time 0.003194/0.3493, allocations: 1.503 MB / 0.7776 GB, free: 17.29 MB / 458.7 MB 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)