Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json 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/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 106.5 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 189.4 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7986/0.7986, allocations: 135.1 MB / 426.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.91 kB / 0.5068 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3404, allocations: 80.91 MB / 0.5858 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002116/0.3426, allocations: 1.28 MB / 0.587 GB, free: 24.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008561/0.3435, allocations: 0.6441 MB / 0.5877 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.779e-05/0.3435, allocations: 2.25 kB / 0.5877 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.3435, allocations: 0 / 0.5877 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.735e-05/0.3436, allocations: 5.438 kB / 0.5877 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.344, allocations: 108.1 kB / 0.5878 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.311e-05/0.344, allocations: 23.98 kB / 0.5878 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.3441, allocations: 6.938 kB / 0.5878 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.21e-05/0.3441, allocations: 14.66 kB / 0.5878 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.44e-05/0.3442, allocations: 12.38 kB / 0.5878 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.3442, allocations: 1.156 kB / 0.5878 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002315/0.3444, allocations: 140.2 kB / 0.588 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.3444, allocations: 9.141 kB / 0.588 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.059e-05/0.3445, allocations: 12.75 kB / 0.588 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.3446, allocations: 99.95 kB / 0.5881 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3446, allocations: 1.062 kB / 0.5881 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3447, allocations: 0.6562 kB / 0.5881 GB, free: 23.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.3447, allocations: 1.281 kB / 0.5881 GB, free: 23.79 MB / 446.1 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.0004024/0.3451, allocations: 359.7 kB / 0.5884 GB, free: 23.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3451, allocations: 12.08 kB / 0.5884 GB, free: 23.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000399/0.3455, allocations: 29.86 kB / 0.5885 GB, free: 23.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.981e-05/0.3456, allocations: 171.6 kB / 0.5886 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.3456, allocations: 1.5 kB / 0.5886 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.3457, allocations: 1.875 kB / 0.5886 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.3458, allocations: 55.03 kB / 0.5887 GB, free: 23.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3458, allocations: 4.125 kB / 0.5887 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.3459, allocations: 5.094 kB / 0.5887 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.3459, allocations: 2.844 kB / 0.5887 GB, free: 23.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.346, allocations: 30.47 kB / 0.5887 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.3461, allocations: 160.3 kB / 0.5889 GB, free: 22.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.3465, allocations: 69.62 kB / 0.5889 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.497e-05/0.3465, allocations: 24.84 kB / 0.589 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.3466, allocations: 2.375 kB / 0.589 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.584e-05/0.3466, allocations: 40.72 kB / 0.589 GB, free: 22.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3466, allocations: 0 / 0.589 GB, free: 22.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.003268/0.3499, allocations: 0.567 MB / 0.5896 GB, free: 22.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.173e-05/0.3499, allocations: 56.5 kB / 0.5896 GB, free: 22.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.218e-05/0.3499, allocations: 96.62 kB / 0.5897 GB, free: 22.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.35, allocations: 29.64 kB / 0.5897 GB, free: 22.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.318e-05/0.35, allocations: 83.3 kB / 0.5898 GB, free: 22.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.35, allocations: 26.61 kB / 0.5898 GB, free: 22.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.3501, allocations: 27.38 kB / 0.5899 GB, free: 22.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.932e-05/0.3501, allocations: 316.8 kB / 0.5902 GB, free: 21.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.3503, allocations: 35.06 kB / 0.5902 GB, free: 21.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.3504, allocations: 37.34 kB / 0.5902 GB, free: 21.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.3506, allocations: 86.16 kB / 0.5903 GB, free: 21.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3506, allocations: 0 / 0.5903 GB, free: 21.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002896/0.3509, allocations: 123 kB / 0.5904 GB, free: 21.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.3509, allocations: 9.062 kB / 0.5904 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.351, allocations: 3.984 kB / 0.5904 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.351, allocations: 3.984 kB / 0.5904 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.3512, allocations: 25.75 kB / 0.5905 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3512, allocations: 0 / 0.5905 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.3514, allocations: 5.562 kB / 0.5905 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.3514, allocations: 11.98 kB / 0.5905 GB, free: 21.47 MB / 446.1 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.906e-05/0.3514, allocations: 105.8 kB / 0.5906 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.3515, allocations: 13.03 kB / 0.5906 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.712e-05/0.3515, allocations: 10 kB / 0.5906 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3515, allocations: 0 / 0.5906 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3516, allocations: 5.625 kB / 0.5906 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3516, allocations: 7.938 kB / 0.5906 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.3517, allocations: 183.7 kB / 0.5908 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3517, allocations: 4 kB / 0.5908 GB, free: 21.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.3519, allocations: 21.22 kB / 0.5908 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.3519, allocations: 3.938 kB / 0.5908 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.3519, allocations: 9.453 kB / 0.5908 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3519, allocations: 0 / 0.5908 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.352, allocations: 0 / 0.5908 GB, free: 21.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004445/0.3524, allocations: 189.3 kB / 0.591 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.3524, allocations: 84.95 kB / 0.5911 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.3525, allocations: 4.031 kB / 0.5911 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.3526, allocations: 21.33 kB / 0.5911 GB, free: 20.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.361e-05/0.3527, allocations: 3.938 kB / 0.5911 GB, free: 20.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.3527, allocations: 8.953 kB / 0.5911 GB, free: 20.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.699e-05/0.3527, allocations: 75.81 kB / 0.5912 GB, free: 20.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3527, allocations: 0 / 0.5912 GB, free: 20.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.353, allocations: 33.44 kB / 0.5912 GB, free: 20.62 MB / 446.1 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.0001819/0.3531, allocations: 121.5 kB / 0.5914 GB, free: 20.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002943/0.3535, allocations: 91.91 kB / 0.5914 GB, free: 20.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3535, allocations: 0.7188 kB / 0.5914 GB, free: 20.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.3536, allocations: 48.95 kB / 0.5915 GB, free: 20.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.3538, allocations: 14.12 kB / 0.5915 GB, free: 20.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000565/0.3544, allocations: 153.7 kB / 0.5917 GB, free: 20.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.146e-05/0.3545, allocations: 0.6807 MB / 0.5923 GB, free: 19.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00015/0.3546, allocations: 27.25 kB / 0.5923 GB, free: 19.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.653e-05/0.3547, allocations: 15.42 kB / 0.5924 GB, free: 19.44 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3547, allocations: 1.5 kB / 0.5924 GB, free: 19.44 MB / 446.1 MB Notification: Performance of Templates: time 0.003573/0.3583, allocations: 1.506 MB / 0.5938 GB, free: 18 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)