Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.00835/0.008349, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001954/0.001954, allocations: 196.9 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4525/0.4525, allocations: 54.95 MB / 324.9 MB, free: 15.96 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 72.66 kB / 456.2 MB, free: 38.29 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.174, allocations: 59.59 MB / 0.5037 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002455/0.1765, allocations: 1.27 MB / 0.505 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.1777, allocations: 0.6263 MB / 0.5056 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.326e-05/0.1777, allocations: 0 / 0.5056 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.356e-05/0.1778, allocations: 0 / 0.5056 GB, free: 8.152 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.725e-05/0.1778, allocations: 5.5 kB / 0.5056 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.1783, allocations: 107 kB / 0.5057 GB, free: 8.074 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.716e-05/0.1784, allocations: 32.64 kB / 0.5057 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.793e-05/0.1784, allocations: 1.125 kB / 0.5057 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.746e-05/0.1785, allocations: 10.55 kB / 0.5057 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.164e-05/0.1785, allocations: 16.27 kB / 0.5058 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.56e-05/0.1786, allocations: 1.375 kB / 0.5058 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002627/0.1788, allocations: 142.6 kB / 0.5059 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.1788, allocations: 1.375 kB / 0.5059 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.694e-05/0.1789, allocations: 12.06 kB / 0.5059 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.1791, allocations: 111.7 kB / 0.506 GB, free: 7.895 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1791, allocations: 0 / 0.506 GB, free: 7.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1791, allocations: 1.375 kB / 0.506 GB, free: 7.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1791, allocations: 0 / 0.506 GB, free: 7.895 MB / 382.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.0004702/0.1796, allocations: 349.3 kB / 0.5063 GB, free: 7.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.1796, allocations: 9.625 kB / 0.5064 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004195/0.1801, allocations: 41.23 kB / 0.5064 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.1802, allocations: 161.8 kB / 0.5066 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1802, allocations: 384 / 0.5066 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.1802, allocations: 3.125 kB / 0.5066 GB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.1804, allocations: 60.78 kB / 0.5066 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1804, allocations: 0 / 0.5066 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.1805, allocations: 1.375 kB / 0.5066 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1805, allocations: 0 / 0.5066 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.1806, allocations: 35.03 kB / 0.5066 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.1808, allocations: 163.2 kB / 0.5068 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003184/0.1811, allocations: 67.41 kB / 0.5069 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.947e-05/0.1812, allocations: 25.31 kB / 0.5069 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.1813, allocations: 0 / 0.5069 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.1813, allocations: 39.88 kB / 0.5069 GB, free: 6.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1813, allocations: 0 / 0.5069 GB, free: 6.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.003198/0.1845, allocations: 0.579 MB / 0.5075 GB, free: 6.473 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.1845, allocations: 51.41 kB / 0.5075 GB, free: 6.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.616e-05/0.1846, allocations: 92.61 kB / 0.5076 GB, free: 6.312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1846, allocations: 31.08 kB / 0.5077 GB, free: 6.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.934e-05/0.1846, allocations: 80.14 kB / 0.5077 GB, free: 6.195 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.958e-05/0.1847, allocations: 26.52 kB / 0.5078 GB, free: 6.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.448e-05/0.1848, allocations: 28.52 kB / 0.5078 GB, free: 6.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.923e-05/0.1848, allocations: 316.2 kB / 0.5081 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.185, allocations: 33.53 kB / 0.5081 GB, free: 5.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.1851, allocations: 43.17 kB / 0.5082 GB, free: 5.789 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.1854, allocations: 79.14 kB / 0.5082 GB, free: 5.746 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1854, allocations: 0 / 0.5082 GB, free: 5.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00036/0.1858, allocations: 137 kB / 0.5084 GB, free: 5.652 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.1858, allocations: 5.062 kB / 0.5084 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1858, allocations: 5.125 kB / 0.5084 GB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.1858, allocations: 3.938 kB / 0.5084 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.186, allocations: 22.59 kB / 0.5084 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.1861, allocations: 1.25 kB / 0.5084 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.1862, allocations: 3.75 kB / 0.5084 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.1862, allocations: 6.391 kB / 0.5084 GB, free: 5.633 MB / 382.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.339e-05/0.1863, allocations: 115.4 kB / 0.5085 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.1863, allocations: 10.88 kB / 0.5085 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.233e-05/0.1864, allocations: 9.562 kB / 0.5085 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.1864, allocations: 0 / 0.5085 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1864, allocations: 1.344 kB / 0.5085 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.1865, allocations: 4 kB / 0.5086 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.1866, allocations: 194 kB / 0.5087 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.1866, allocations: 0 / 0.5087 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.1868, allocations: 26.47 kB / 0.5088 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.1868, allocations: 1.062 kB / 0.5088 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.1869, allocations: 8.953 kB / 0.5088 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1869, allocations: 0.9062 kB / 0.5088 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1869, allocations: 0 / 0.5088 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005183/0.1874, allocations: 195 kB / 0.509 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.342e-05/0.1874, allocations: 82.36 kB / 0.509 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.1875, allocations: 0 / 0.509 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.1876, allocations: 15.33 kB / 0.5091 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-05/0.1877, allocations: 2.656 kB / 0.5091 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.1877, allocations: 6.266 kB / 0.5091 GB, free: 4.988 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.763e-05/0.1877, allocations: 80.53 kB / 0.5091 GB, free: 4.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1877, allocations: 9.25 kB / 0.5091 GB, free: 4.902 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.188, allocations: 25.88 kB / 0.5092 GB, free: 4.898 MB / 382.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.000222/0.1882, allocations: 132.8 kB / 0.5093 GB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003503/0.1886, allocations: 85.2 kB / 0.5094 GB, free: 4.754 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1886, allocations: 0 / 0.5094 GB, free: 4.754 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.1887, allocations: 55.3 kB / 0.5094 GB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.189, allocations: 13.09 kB / 0.5094 GB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006495/0.1897, allocations: 169.7 kB / 0.5096 GB, free: 4.539 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.1898, allocations: 0.6807 MB / 0.5103 GB, free: 3.832 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000148/0.19, allocations: 27.94 kB / 0.5103 GB, free: 3.805 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.183e-05/0.19, allocations: 15.42 kB / 0.5103 GB, free: 3.789 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.19, allocations: 0 / 0.5103 GB, free: 3.789 MB / 382.1 MB Notification: Performance of Templates: time 0.004107/0.1942, allocations: 1.507 MB / 0.5118 GB, free: 2.324 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)