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.001117/0.001117, allocations: 101.8 kB / 16.35 MB, free: 5.879 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.001183/0.001183, allocations: 199.1 kB / 17.3 MB, free: 5.52 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.307/1.307, 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-master/package.mo): time 0.7657/0.7657, allocations: 135.1 MB / 426.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.91 kB / 0.5068 GB, free: 7.691 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3561, allocations: 80.91 MB / 0.5858 GB, free: 25.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002182/0.3584, allocations: 1.275 MB / 0.587 GB, free: 24.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008637/0.3593, allocations: 0.6449 MB / 0.5877 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.833e-05/0.3593, allocations: 1.219 kB / 0.5877 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.494e-05/0.3593, allocations: 1.719 kB / 0.5877 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.714e-05/0.3594, allocations: 5.156 kB / 0.5877 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.3598, allocations: 107.6 kB / 0.5878 GB, free: 24.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.842e-05/0.3598, allocations: 24.72 kB / 0.5878 GB, free: 24.09 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.402e-05/0.3599, allocations: 14.2 kB / 0.5878 GB, free: 24.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.136e-05/0.3599, allocations: 6.25 kB / 0.5878 GB, free: 24.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.371e-05/0.36, allocations: 20.59 kB / 0.5878 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.36, allocations: 2.062 kB / 0.5878 GB, free: 24.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002472/0.3603, allocations: 138.4 kB / 0.588 GB, free: 24 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.3603, allocations: 5.578 kB / 0.588 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.3603, allocations: 8.625 kB / 0.588 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.3605, allocations: 99.53 kB / 0.5881 GB, free: 23.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3605, allocations: 0 / 0.5881 GB, free: 23.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3605, allocations: 1.5 kB / 0.5881 GB, free: 23.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.3605, allocations: 0 / 0.5881 GB, free: 23.94 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.3609, allocations: 359 kB / 0.5884 GB, free: 23.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.361, allocations: 10.08 kB / 0.5884 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004024/0.3614, allocations: 34.98 kB / 0.5885 GB, free: 23.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.679e-05/0.3615, allocations: 166.5 kB / 0.5886 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.3615, allocations: 384 / 0.5886 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.3615, allocations: 3.781 kB / 0.5886 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.3617, allocations: 54.44 kB / 0.5887 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.3617, allocations: 192 / 0.5887 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.3617, allocations: 9.844 kB / 0.5887 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3617, allocations: 0.9062 kB / 0.5887 GB, free: 23.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.3619, allocations: 35.48 kB / 0.5887 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.362, allocations: 159.8 kB / 0.5889 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.3623, allocations: 70.36 kB / 0.5889 GB, free: 23.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.394e-05/0.3624, allocations: 25.38 kB / 0.589 GB, free: 23.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.3624, allocations: 1.094 kB / 0.589 GB, free: 23.01 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.3624, allocations: 33.25 kB / 0.589 GB, free: 22.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.3624, allocations: 0 / 0.589 GB, free: 22.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.003154/0.3656, allocations: 0.583 MB / 0.5896 GB, free: 22.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.3656, allocations: 52.66 kB / 0.5896 GB, free: 22.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.06e-05/0.3657, allocations: 98.86 kB / 0.5897 GB, free: 22.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.3657, allocations: 25.7 kB / 0.5897 GB, free: 22.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.395e-05/0.3657, allocations: 88.08 kB / 0.5898 GB, free: 22.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.3658, allocations: 24.17 kB / 0.5898 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.903e-05/0.3658, allocations: 22.92 kB / 0.5899 GB, free: 22.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.986e-05/0.3659, allocations: 314.8 kB / 0.5902 GB, free: 21.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.366, allocations: 41.73 kB / 0.5902 GB, free: 21.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.3661, allocations: 36.69 kB / 0.5902 GB, free: 21.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.3663, allocations: 84.23 kB / 0.5903 GB, free: 21.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3663, allocations: 0 / 0.5903 GB, free: 21.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002892/0.3666, allocations: 126.3 kB / 0.5904 GB, free: 21.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3667, allocations: 12.44 kB / 0.5904 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3667, allocations: 64 / 0.5904 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3667, allocations: 4.656 kB / 0.5905 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.3669, allocations: 24.91 kB / 0.5905 GB, free: 21.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.3669, allocations: 0 / 0.5905 GB, free: 21.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.3671, allocations: 9.125 kB / 0.5905 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.3671, allocations: 4.219 kB / 0.5905 GB, free: 21.48 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.677e-05/0.3671, allocations: 112.3 kB / 0.5906 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.091e-05/0.3672, allocations: 3.938 kB / 0.5906 GB, free: 21.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.294e-05/0.3672, allocations: 17.36 kB / 0.5906 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3672, allocations: 1.375 kB / 0.5906 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3672, allocations: 0 / 0.5906 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3672, allocations: 3.984 kB / 0.5906 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.3673, allocations: 179.8 kB / 0.5908 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3674, allocations: 2.156 kB / 0.5908 GB, free: 21.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.3676, allocations: 27.91 kB / 0.5908 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3676, allocations: 7.922 kB / 0.5908 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.3676, allocations: 0 / 0.5908 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3676, allocations: 0 / 0.5908 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3676, allocations: 0.875 kB / 0.5908 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004347/0.3681, allocations: 192.7 kB / 0.591 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.648e-05/0.3681, allocations: 84.95 kB / 0.5911 GB, free: 20.78 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.3681, allocations: 4.75 kB / 0.5911 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.3683, allocations: 13.77 kB / 0.5911 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.509e-05/0.3683, allocations: 0 / 0.5911 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.3683, allocations: 11.92 kB / 0.5911 GB, free: 20.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.969e-05/0.3684, allocations: 79.81 kB / 0.5912 GB, free: 20.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3684, allocations: 2.406 kB / 0.5912 GB, free: 20.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.3686, allocations: 31.94 kB / 0.5912 GB, free: 20.64 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.0001644/0.3688, allocations: 131.5 kB / 0.5914 GB, free: 20.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002906/0.3691, allocations: 85.86 kB / 0.5914 GB, free: 20.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3691, allocations: 1.281 kB / 0.5914 GB, free: 20.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.3692, allocations: 52.42 kB / 0.5915 GB, free: 20.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.3694, allocations: 15.34 kB / 0.5915 GB, free: 20.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005673/0.37, allocations: 156.4 kB / 0.5917 GB, free: 20.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.488e-05/0.3701, allocations: 0.6807 MB / 0.5923 GB, free: 19.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001492/0.3703, allocations: 27.95 kB / 0.5923 GB, free: 19.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.576e-05/0.3703, allocations: 15.42 kB / 0.5924 GB, free: 19.45 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3703, allocations: 0 / 0.5924 GB, free: 19.45 MB / 446.1 MB Notification: Performance of Templates: time 0.003353/0.3737, allocations: 1.501 MB / 0.5938 GB, free: 18.01 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)