Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001126/0.001126, allocations: 113.5 kB / 16.37 MB, free: 6.004 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.001095/0.001095, allocations: 196 kB / 17.31 MB, free: 5.613 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7926/0.7926, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 59.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3565, allocations: 80.18 MB / 0.5815 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002299/0.3588, allocations: 1.282 MB / 0.5828 GB, free: 26.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009689/0.3598, allocations: 0.6496 MB / 0.5834 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.14e-05/0.3598, allocations: 0.8438 kB / 0.5834 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.231e-05/0.3599, allocations: 0 / 0.5834 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.481e-05/0.3599, allocations: 5.625 kB / 0.5834 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.3604, allocations: 110.4 kB / 0.5835 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.881e-05/0.3605, allocations: 24.2 kB / 0.5835 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.3605, allocations: 5.594 kB / 0.5835 GB, free: 25.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.474e-05/0.3605, allocations: 17.73 kB / 0.5836 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.387e-05/0.3606, allocations: 12.98 kB / 0.5836 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.3606, allocations: 1.125 kB / 0.5836 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002495/0.3609, allocations: 134.9 kB / 0.5837 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.3609, allocations: 13.3 kB / 0.5837 GB, free: 25.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.496e-05/0.361, allocations: 10.55 kB / 0.5837 GB, free: 25.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.3612, allocations: 98.06 kB / 0.5838 GB, free: 25.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3612, allocations: 2.594 kB / 0.5838 GB, free: 25.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3612, allocations: 0 / 0.5838 GB, free: 25.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.3612, allocations: 0 / 0.5838 GB, free: 25.78 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.0004076/0.3616, allocations: 357.5 kB / 0.5842 GB, free: 25.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.3616, allocations: 9.875 kB / 0.5842 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004299/0.3621, allocations: 30.36 kB / 0.5842 GB, free: 25.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.227e-05/0.3622, allocations: 165.7 kB / 0.5844 GB, free: 25.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.3622, allocations: 6.344 kB / 0.5844 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.3622, allocations: 2.531 kB / 0.5844 GB, free: 25.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.3624, allocations: 56.31 kB / 0.5844 GB, free: 25.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.3624, allocations: 192 / 0.5844 GB, free: 25.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.3624, allocations: 8.969 kB / 0.5844 GB, free: 25.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3624, allocations: 3.938 kB / 0.5844 GB, free: 25.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.3625, allocations: 31.91 kB / 0.5845 GB, free: 25.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001439/0.3627, allocations: 159.7 kB / 0.5846 GB, free: 24.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.363, allocations: 65.72 kB / 0.5847 GB, free: 24.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.576e-05/0.3631, allocations: 30.78 kB / 0.5847 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.3631, allocations: 0 / 0.5847 GB, free: 24.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.3631, allocations: 36.75 kB / 0.5847 GB, free: 24.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.3631, allocations: 2 kB / 0.5847 GB, free: 24.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.003272/0.3664, allocations: 0.5782 MB / 0.5853 GB, free: 24.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/0.3665, allocations: 51.41 kB / 0.5854 GB, free: 24.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.334e-05/0.3665, allocations: 101.4 kB / 0.5854 GB, free: 24.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.3665, allocations: 31.61 kB / 0.5855 GB, free: 24.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.492e-05/0.3665, allocations: 80.14 kB / 0.5856 GB, free: 24.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.3666, allocations: 19.56 kB / 0.5856 GB, free: 24.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.3666, allocations: 27.62 kB / 0.5856 GB, free: 24.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.837e-05/0.3667, allocations: 314.1 kB / 0.5859 GB, free: 23.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.3668, allocations: 37.78 kB / 0.5859 GB, free: 23.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.3669, allocations: 36.81 kB / 0.586 GB, free: 23.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.3672, allocations: 79.91 kB / 0.586 GB, free: 23.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3672, allocations: 3.938 kB / 0.5861 GB, free: 23.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003067/0.3675, allocations: 127.4 kB / 0.5862 GB, free: 23.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.3675, allocations: 10.03 kB / 0.5862 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3675, allocations: 1.125 kB / 0.5862 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3676, allocations: 2.469 kB / 0.5862 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.3678, allocations: 22.81 kB / 0.5862 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3678, allocations: 0 / 0.5862 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.3679, allocations: 8.672 kB / 0.5862 GB, free: 23.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.368, allocations: 7.484 kB / 0.5862 GB, free: 23.55 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 6.036e-05/0.368, allocations: 112.5 kB / 0.5863 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.3681, allocations: 5.656 kB / 0.5863 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.499e-05/0.3681, allocations: 16.97 kB / 0.5864 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3681, allocations: 0 / 0.5864 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3681, allocations: 3.031 kB / 0.5864 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3682, allocations: 0 / 0.5864 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.3683, allocations: 186.8 kB / 0.5865 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3683, allocations: 64 / 0.5865 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.3685, allocations: 28.22 kB / 0.5866 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3685, allocations: 3.938 kB / 0.5866 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.3685, allocations: 5.266 kB / 0.5866 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3685, allocations: 1.125 kB / 0.5866 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3685, allocations: 3.438 kB / 0.5866 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004756/0.369, allocations: 187.9 kB / 0.5868 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.369, allocations: 85.91 kB / 0.5868 GB, free: 22.94 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.3691, allocations: 1.719 kB / 0.5868 GB, free: 22.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.3693, allocations: 11.41 kB / 0.5868 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.3693, allocations: 10.8 kB / 0.5869 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.3693, allocations: 7.297 kB / 0.5869 GB, free: 22.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.7e-05/0.3693, allocations: 77.62 kB / 0.5869 GB, free: 22.85 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3693, allocations: 1.938 kB / 0.5869 GB, free: 22.85 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002388/0.3696, allocations: 27.59 kB / 0.587 GB, free: 22.84 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.0001907/0.3698, allocations: 132.8 kB / 0.5871 GB, free: 22.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003144/0.3701, allocations: 86 kB / 0.5872 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3701, allocations: 3.375 kB / 0.5872 GB, free: 22.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.3703, allocations: 47.17 kB / 0.5872 GB, free: 22.67 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.3705, allocations: 18.02 kB / 0.5872 GB, free: 22.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005704/0.3711, allocations: 159.3 kB / 0.5874 GB, free: 22.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.711e-05/0.3712, allocations: 0.6809 MB / 0.5881 GB, free: 21.82 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001525/0.3713, allocations: 22.22 kB / 0.5881 GB, free: 21.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.877e-05/0.3714, allocations: 15.73 kB / 0.5881 GB, free: 21.82 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3714, allocations: 1.375 kB / 0.5881 GB, free: 21.82 MB / 446.1 MB Notification: Performance of Templates: time 0.003573/0.375, allocations: 1.511 MB / 0.5896 GB, free: 21.1 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)