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.0009462/0.0009461, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.009002/0.009002, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.492/1.492, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7933/0.7933, allocations: 132.3 MB / 423.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003342, allocations: 8 kB / 0.504 GB, free: 3.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4452/0.4456, allocations: 81.58 MB / 0.5837 GB, free: 4.074 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002254/0.4479, allocations: 1.013 MB / 0.5847 GB, free: 3.324 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.4492, allocations: 0.6499 MB / 0.5853 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.33e-05/0.4492, allocations: 0 / 0.5853 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.583e-05/0.4493, allocations: 1.641 kB / 0.5853 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.946e-05/0.4493, allocations: 2.297 kB / 0.5853 GB, free: 2.879 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004959/0.4498, allocations: 98.77 kB / 0.5854 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.821e-05/0.4499, allocations: 23.84 kB / 0.5854 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.118e-05/0.45, allocations: 1.922 kB / 0.5854 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.854e-05/0.45, allocations: 10.62 kB / 0.5854 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.484e-05/0.4501, allocations: 11.8 kB / 0.5855 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.4501, allocations: 1.219 kB / 0.5855 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004326/0.4506, allocations: 147 kB / 0.5856 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.4506, allocations: 1.547 kB / 0.5856 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.241e-05/0.4507, allocations: 44.56 kB / 0.5856 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000374/0.451, allocations: 101.5 kB / 0.5857 GB, free: 2.703 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.4511, allocations: 0 / 0.5857 GB, free: 2.703 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.028e-06/0.4511, allocations: 0 / 0.5857 GB, free: 2.703 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.4511, allocations: 0.6562 kB / 0.5857 GB, free: 2.703 MB / 430.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.0006873/0.4518, allocations: 355.3 kB / 0.5861 GB, free: 2.328 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.4518, allocations: 10.12 kB / 0.5861 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004982/0.4523, allocations: 31.3 kB / 0.5861 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.498e-05/0.4525, allocations: 166.9 kB / 0.5863 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.4525, allocations: 1.031 kB / 0.5863 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.4525, allocations: 5.844 kB / 0.5863 GB, free: 2.121 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.4527, allocations: 59.14 kB / 0.5863 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.4527, allocations: 192 / 0.5863 GB, free: 2.082 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.4527, allocations: 8.969 kB / 0.5864 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.4528, allocations: 4 kB / 0.5864 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.4529, allocations: 27.27 kB / 0.5864 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/0.4531, allocations: 157.6 kB / 0.5865 GB, free: 1.875 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003351/0.4534, allocations: 70.83 kB / 0.5866 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.873e-05/0.4535, allocations: 25.28 kB / 0.5866 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.4536, allocations: 5.312 kB / 0.5866 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.4536, allocations: 31.81 kB / 0.5867 GB, free: 1.781 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4536, allocations: 0.9062 kB / 0.5867 GB, free: 1.781 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.003479/0.4571, allocations: 0.5758 MB / 0.5872 GB, free: 1.441 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.4571, allocations: 52.97 kB / 0.5873 GB, free: 1.379 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.839e-05/0.4572, allocations: 93.86 kB / 0.5874 GB, free: 1.281 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.4572, allocations: 26.73 kB / 0.5874 GB, free: 1.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.694e-05/0.4572, allocations: 89.02 kB / 0.5875 GB, free: 1.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.4573, allocations: 19.41 kB / 0.5875 GB, free: 1.145 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.4573, allocations: 21.12 kB / 0.5875 GB, free: 1.121 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.542e-05/0.4574, allocations: 314.2 kB / 0.5878 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.4575, allocations: 38.11 kB / 0.5878 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.4576, allocations: 38.38 kB / 0.5879 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/0.4579, allocations: 83.36 kB / 0.588 GB, free: 0.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4579, allocations: 0 / 0.588 GB, free: 0.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003639/0.4583, allocations: 129.2 kB / 0.5881 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.4583, allocations: 10.75 kB / 0.5881 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4584, allocations: 64 / 0.5881 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.4584, allocations: 4 kB / 0.5881 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.4586, allocations: 22.06 kB / 0.5881 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.4586, allocations: 1.938 kB / 0.5881 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.4588, allocations: 10.22 kB / 0.5881 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.4588, allocations: 4.953 kB / 0.5881 GB, free: 0.6719 MB / 430.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 7.111e-05/0.4589, allocations: 121.4 kB / 0.5883 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.4589, allocations: 7.25 kB / 0.5883 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.744e-05/0.459, allocations: 10.36 kB / 0.5883 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.459, allocations: 0 / 0.5883 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.459, allocations: 5.594 kB / 0.5883 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.459, allocations: 0.6094 kB / 0.5883 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.4591, allocations: 185.3 kB / 0.5885 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4592, allocations: 0.6562 kB / 0.5885 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002404/0.4594, allocations: 22.12 kB / 0.5885 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.4594, allocations: 5.844 kB / 0.5885 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.4594, allocations: 3.859 kB / 0.5885 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4594, allocations: 0 / 0.5885 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4594, allocations: 0.7812 kB / 0.5885 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005554/0.46, allocations: 192.3 kB / 0.5887 GB, free: 212 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.295e-05/0.46, allocations: 86.44 kB / 0.5888 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.614e-05/0.4601, allocations: 1.891 kB / 0.5888 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.4603, allocations: 14.11 kB / 0.5888 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.985e-05/0.4603, allocations: 3.297 kB / 0.5888 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.4603, allocations: 9.844 kB / 0.5888 GB, free: 100 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.157e-05/0.4604, allocations: 76.66 kB / 0.5889 GB, free: 24 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4604, allocations: 3.938 kB / 0.5889 GB, free: 20 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002983/0.4607, allocations: 28.77 kB / 0.5889 GB, free: 16 kB / 430.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.0002718/0.4609, allocations: 129 kB / 0.589 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003825/0.4613, allocations: 85.08 kB / 0.5891 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4613, allocations: 0 / 0.5891 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.4615, allocations: 51.09 kB / 0.5891 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.4618, allocations: 13.22 kB / 0.5891 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006636/0.4624, allocations: 173.8 kB / 0.5893 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.4627, allocations: 0.6835 MB / 0.59 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002279/0.4629, allocations: 25.09 kB / 0.59 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.825e-05/0.463, allocations: 20.94 kB / 0.59 GB, free: 15.02 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.463, allocations: 0 / 0.59 GB, free: 15.02 MB / 446.1 MB Notification: Performance of Templates: time 0.004878/0.4679, allocations: 1.453 MB / 0.5914 GB, free: 14.93 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 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)