Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001195/0.001195, allocations: 113.9 kB / 17.08 MB, free: 6.016 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.001198/0.001198, allocations: 197.8 kB / 18.02 MB, free: 5.094 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.38/1.38, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7245/0.7245, allocations: 115.3 MB / 407.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 65.39 kB / 0.5583 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1711, allocations: 76.19 MB / 0.6327 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.003737/0.1748, allocations: 1.272 MB / 0.634 GB, free: 3.113 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.1768, allocations: 0.6399 MB / 0.6346 GB, free: 2.469 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.408e-05/0.1768, allocations: 0 / 0.6346 GB, free: 2.469 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.771e-05/0.1769, allocations: 3.938 kB / 0.6346 GB, free: 2.465 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.429e-05/0.177, allocations: 0 / 0.6346 GB, free: 2.465 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006768/0.1777, allocations: 115.5 kB / 0.6347 GB, free: 2.352 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.497e-05/0.1778, allocations: 23.88 kB / 0.6348 GB, free: 2.328 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.856e-05/0.1778, allocations: 7.984 kB / 0.6348 GB, free: 2.32 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.806e-05/0.1779, allocations: 11.94 kB / 0.6348 GB, free: 2.309 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.814e-05/0.178, allocations: 11.97 kB / 0.6348 GB, free: 2.297 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.178, allocations: 4 kB / 0.6348 GB, free: 2.293 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005081/0.1785, allocations: 139.8 kB / 0.6349 GB, free: 2.156 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/0.1786, allocations: 7.984 kB / 0.6349 GB, free: 2.148 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.314e-05/0.1786, allocations: 11.94 kB / 0.6349 GB, free: 2.137 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.179, allocations: 99.77 kB / 0.635 GB, free: 2.039 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.179, allocations: 0 / 0.635 GB, free: 2.039 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.179, allocations: 0 / 0.635 GB, free: 2.039 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.179, allocations: 0 / 0.635 GB, free: 2.039 MB / 478.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.0006922/0.1797, allocations: 351.5 kB / 0.6354 GB, free: 1.645 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.1798, allocations: 11.97 kB / 0.6354 GB, free: 1.633 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007066/0.1805, allocations: 36.8 kB / 0.6354 GB, free: 1.598 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.1807, allocations: 164.3 kB / 0.6356 GB, free: 1.398 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.1807, allocations: 4.375 kB / 0.6356 GB, free: 1.395 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.1808, allocations: 4.375 kB / 0.6356 GB, free: 1.391 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.1811, allocations: 54.22 kB / 0.6356 GB, free: 1.332 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.1811, allocations: 192 / 0.6356 GB, free: 1.332 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.1811, allocations: 7.922 kB / 0.6356 GB, free: 1.324 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1811, allocations: 0 / 0.6356 GB, free: 1.324 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002283/0.1814, allocations: 27.98 kB / 0.6357 GB, free: 1.297 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002707/0.1816, allocations: 169.6 kB / 0.6358 GB, free: 1.082 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000511/0.1822, allocations: 66.52 kB / 0.6359 GB, free: 1.008 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.1823, allocations: 36.92 kB / 0.6359 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.1824, allocations: 3.938 kB / 0.6359 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.1824, allocations: 30.56 kB / 0.636 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/0.1824, allocations: 0 / 0.636 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of matching and sorting (n=6): time 0.005676/0.1881, allocations: 0.5798 MB / 0.6365 GB, free: 300 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.1882, allocations: 51.41 kB / 0.6366 GB, free: 236 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.716e-05/0.1883, allocations: 97.86 kB / 0.6367 GB, free: 128 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.1883, allocations: 25.7 kB / 0.6367 GB, free: 96 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.1884, allocations: 84.08 kB / 0.6368 GB, free: 8 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.977e-05/0.1885, allocations: 23.83 kB / 0.6368 GB, free: 15.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.873e-05/0.1886, allocations: 25.7 kB / 0.6368 GB, free: 15.95 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1888, allocations: 318.8 kB / 0.6371 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/0.1891, allocations: 35.95 kB / 0.6372 GB, free: 15.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002583/0.1894, allocations: 39.97 kB / 0.6372 GB, free: 15.56 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005158/0.1899, allocations: 84.8 kB / 0.6373 GB, free: 15.47 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.1899, allocations: 4.062 kB / 0.6373 GB, free: 15.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006703/0.1906, allocations: 117.8 kB / 0.6374 GB, free: 15.35 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.1906, allocations: 15.94 kB / 0.6374 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1907, allocations: 3.938 kB / 0.6374 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.1907, allocations: 0 / 0.6374 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.1911, allocations: 27.91 kB / 0.6374 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.1911, allocations: 4.062 kB / 0.6374 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.1914, allocations: 4 kB / 0.6374 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.1914, allocations: 3.984 kB / 0.6375 GB, free: 15.29 MB / 494.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 0.000125/0.1916, allocations: 117.8 kB / 0.6376 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.447e-05/0.1916, allocations: 7.844 kB / 0.6376 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.472e-05/0.1917, allocations: 11.97 kB / 0.6376 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1918, allocations: 0 / 0.6376 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1918, allocations: 0 / 0.6376 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1918, allocations: 7.984 kB / 0.6376 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.1921, allocations: 179.7 kB / 0.6378 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.1921, allocations: 3.984 kB / 0.6378 GB, free: 14.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003775/0.1925, allocations: 27.97 kB / 0.6378 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.1925, allocations: 3.938 kB / 0.6378 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.956e-05/0.1926, allocations: 0 / 0.6378 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1926, allocations: 3.938 kB / 0.6378 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1926, allocations: 0 / 0.6378 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.1936, allocations: 197 kB / 0.638 GB, free: 14.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/0.1937, allocations: 81.05 kB / 0.6381 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.1938, allocations: 0 / 0.6381 GB, free: 14.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003114/0.1941, allocations: 16.08 kB / 0.6381 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.1941, allocations: 4 kB / 0.6381 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.52e-05/0.1942, allocations: 7.984 kB / 0.6381 GB, free: 14.53 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.06e-05/0.1943, allocations: 79.28 kB / 0.6382 GB, free: 14.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1943, allocations: 0 / 0.6382 GB, free: 14.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004446/0.1947, allocations: 27.94 kB / 0.6382 GB, free: 14.43 MB / 494.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.0003272/0.1951, allocations: 139.3 kB / 0.6383 GB, free: 14.28 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006377/0.1957, allocations: 83.88 kB / 0.6384 GB, free: 14.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.1958, allocations: 4 kB / 0.6384 GB, free: 14.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003084/0.1961, allocations: 48.02 kB / 0.6385 GB, free: 14.15 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.1964, allocations: 14.64 kB / 0.6385 GB, free: 14.14 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.1975, allocations: 187.7 kB / 0.6386 GB, free: 13.92 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.1978, allocations: 0.6807 MB / 0.6393 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.198, allocations: 19.41 kB / 0.6393 GB, free: 13.2 MB / 494.1 MB Notification: Performance of SimCode: time 6.62e-07/0.198, allocations: 4 kB / 0.6393 GB, free: 13.19 MB / 494.1 MB Notification: Performance of Templates: time 0.00553/0.2035, allocations: 1.563 MB / 0.6409 GB, free: 11.63 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)