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.001266/0.001266, allocations: 102.5 kB / 16.27 MB, free: 5.98 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.001483/0.001483, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.384/1.384, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8643/0.8643, allocations: 135.2 MB / 426.2 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 72.12 kB / 0.5061 GB, free: 8.297 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3425, allocations: 80.9 MB / 0.5851 GB, free: 25.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002091/0.3447, allocations: 1.299 MB / 0.5863 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008266/0.3455, allocations: 0.6399 MB / 0.587 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.774e-05/0.3455, allocations: 0 / 0.587 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.321e-05/0.3456, allocations: 1.062 kB / 0.587 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.188e-05/0.3456, allocations: 5.312 kB / 0.587 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003772/0.346, allocations: 112.7 kB / 0.5871 GB, free: 23.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.014e-05/0.3461, allocations: 19.8 kB / 0.5871 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.3461, allocations: 1.875 kB / 0.5871 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.302e-05/0.3461, allocations: 10.28 kB / 0.5871 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.564e-05/0.3462, allocations: 17.19 kB / 0.5871 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.3462, allocations: 1.344 kB / 0.5871 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002402/0.3465, allocations: 143.7 kB / 0.5873 GB, free: 23.47 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.3465, allocations: 4.656 kB / 0.5873 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.395e-05/0.3465, allocations: 16.97 kB / 0.5873 GB, free: 23.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.3467, allocations: 98.92 kB / 0.5874 GB, free: 23.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3467, allocations: 1.281 kB / 0.5874 GB, free: 23.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3467, allocations: 0 / 0.5874 GB, free: 23.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.3467, allocations: 0 / 0.5874 GB, free: 23.4 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.0003858/0.3471, allocations: 355.7 kB / 0.5877 GB, free: 23.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.3472, allocations: 14.17 kB / 0.5877 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004003/0.3476, allocations: 26.41 kB / 0.5878 GB, free: 23.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.404e-05/0.3476, allocations: 170.8 kB / 0.5879 GB, free: 22.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.3477, allocations: 1.688 kB / 0.5879 GB, free: 22.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.3477, allocations: 6.906 kB / 0.5879 GB, free: 22.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.3479, allocations: 58 kB / 0.588 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3479, allocations: 192 / 0.588 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.3479, allocations: 6.062 kB / 0.588 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3479, allocations: 0 / 0.588 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.348, allocations: 27.59 kB / 0.588 GB, free: 22.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.3482, allocations: 162.3 kB / 0.5882 GB, free: 22.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/0.3485, allocations: 64.8 kB / 0.5882 GB, free: 22.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.768e-05/0.3486, allocations: 34.56 kB / 0.5883 GB, free: 22.47 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.3486, allocations: 5.484 kB / 0.5883 GB, free: 22.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.231e-05/0.3486, allocations: 30.56 kB / 0.5883 GB, free: 22.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3486, allocations: 0.625 kB / 0.5883 GB, free: 22.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.003168/0.3518, allocations: 0.5731 MB / 0.5889 GB, free: 22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.3518, allocations: 55 kB / 0.5889 GB, free: 21.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.684e-05/0.3519, allocations: 100.4 kB / 0.589 GB, free: 21.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.3519, allocations: 30.77 kB / 0.589 GB, free: 21.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.455e-05/0.3519, allocations: 81.39 kB / 0.5891 GB, free: 21.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.3519, allocations: 21.69 kB / 0.5891 GB, free: 21.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.04e-05/0.352, allocations: 29.53 kB / 0.5892 GB, free: 21.67 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.986e-05/0.352, allocations: 313.8 kB / 0.5895 GB, free: 21.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.3522, allocations: 37.81 kB / 0.5895 GB, free: 21.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.3523, allocations: 36.44 kB / 0.5895 GB, free: 21.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.3526, allocations: 84.12 kB / 0.5896 GB, free: 21.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3526, allocations: 3.094 kB / 0.5896 GB, free: 21.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003344/0.3529, allocations: 124.7 kB / 0.5897 GB, free: 21.19 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.353, allocations: 10.31 kB / 0.5897 GB, free: 21.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.353, allocations: 3.938 kB / 0.5897 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.353, allocations: 1.375 kB / 0.5897 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.3532, allocations: 23.44 kB / 0.5898 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3532, allocations: 0.7188 kB / 0.5898 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.3534, allocations: 9.609 kB / 0.5898 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.3534, allocations: 5.438 kB / 0.5898 GB, free: 21.17 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.81e-05/0.3535, allocations: 122 kB / 0.5899 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.3535, allocations: 6.375 kB / 0.5899 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.096e-05/0.3536, allocations: 11.44 kB / 0.5899 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3536, allocations: 0.5625 kB / 0.5899 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3536, allocations: 3.312 kB / 0.5899 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3536, allocations: 0 / 0.5899 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.3537, allocations: 187 kB / 0.5901 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3537, allocations: 0 / 0.5901 GB, free: 20.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002141/0.3539, allocations: 25.06 kB / 0.5901 GB, free: 20.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3539, allocations: 5.031 kB / 0.5901 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.354, allocations: 5.234 kB / 0.5901 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.354, allocations: 0 / 0.5901 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.354, allocations: 1.344 kB / 0.5901 GB, free: 20.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004944/0.3545, allocations: 188.4 kB / 0.5903 GB, free: 20.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.718e-05/0.3545, allocations: 86.39 kB / 0.5904 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.3545, allocations: 6.891 kB / 0.5904 GB, free: 20.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.3547, allocations: 8.875 kB / 0.5904 GB, free: 20.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.927e-05/0.3548, allocations: 9.109 kB / 0.5904 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.3548, allocations: 7.281 kB / 0.5904 GB, free: 20.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.644e-05/0.3548, allocations: 76.47 kB / 0.5905 GB, free: 20.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3548, allocations: 0.9688 kB / 0.5905 GB, free: 20.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.3551, allocations: 32.55 kB / 0.5905 GB, free: 20.47 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.0001797/0.3552, allocations: 128.4 kB / 0.5907 GB, free: 20.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003396/0.3556, allocations: 93.98 kB / 0.5907 GB, free: 20.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3556, allocations: 0 / 0.5907 GB, free: 20.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.3558, allocations: 43.98 kB / 0.5908 GB, free: 20.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.356, allocations: 14.53 kB / 0.5908 GB, free: 20.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005804/0.3566, allocations: 187.1 kB / 0.591 GB, free: 20.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.994e-05/0.3567, allocations: 0.6768 MB / 0.5916 GB, free: 19.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.767e-05/0.3568, allocations: 20.28 kB / 0.5917 GB, free: 19.39 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3568, allocations: 0 / 0.5917 GB, free: 19.39 MB / 446.1 MB Notification: Performance of Templates: time 0.002811/0.3596, allocations: 1.587 MB / 0.5932 GB, free: 17.85 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)