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.00113/0.00113, allocations: 103.8 kB / 16.4 MB, free: 6.477 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.001221/0.001221, allocations: 189.2 kB / 17.34 MB, free: 5.73 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.47/1.47, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7626/0.7626, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 66.27 kB / 0.5685 GB, free: 28.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1805, allocations: 77.94 MB / 0.6446 GB, free: 8.969 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002877/0.1835, allocations: 1.274 MB / 0.6459 GB, free: 7.684 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001147/0.1846, allocations: 0.6409 MB / 0.6465 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.1847, allocations: 0 / 0.6465 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.083e-05/0.1847, allocations: 3.938 kB / 0.6465 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.642e-05/0.1848, allocations: 11.92 kB / 0.6465 GB, free: 7.023 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006264/0.1855, allocations: 99.56 kB / 0.6466 GB, free: 6.926 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.152e-05/0.1856, allocations: 31.84 kB / 0.6466 GB, free: 6.895 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.76e-05/0.1856, allocations: 0 / 0.6466 GB, free: 6.895 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.167e-05/0.1857, allocations: 15.92 kB / 0.6466 GB, free: 6.879 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.055e-05/0.1857, allocations: 12 kB / 0.6467 GB, free: 6.867 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.1858, allocations: 0 / 0.6467 GB, free: 6.867 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000354/0.1861, allocations: 147.8 kB / 0.6468 GB, free: 6.723 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.959e-05/0.1862, allocations: 3.984 kB / 0.6468 GB, free: 6.719 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.1862, allocations: 11.94 kB / 0.6468 GB, free: 6.707 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.1865, allocations: 95.69 kB / 0.6469 GB, free: 6.613 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1865, allocations: 0 / 0.6469 GB, free: 6.613 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1865, allocations: 0 / 0.6469 GB, free: 6.613 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1865, allocations: 4 kB / 0.6469 GB, free: 6.609 MB / 494.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.0005862/0.1871, allocations: 363.2 kB / 0.6473 GB, free: 6.203 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.1872, allocations: 8.625 kB / 0.6473 GB, free: 6.195 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000441/0.1876, allocations: 36.83 kB / 0.6473 GB, free: 6.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.1878, allocations: 160.4 kB / 0.6475 GB, free: 5.965 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1878, allocations: 384 / 0.6475 GB, free: 5.965 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.1878, allocations: 4.375 kB / 0.6475 GB, free: 5.961 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.1881, allocations: 54.22 kB / 0.6475 GB, free: 5.902 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.1881, allocations: 192 / 0.6475 GB, free: 5.902 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.1881, allocations: 11.94 kB / 0.6475 GB, free: 5.891 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1881, allocations: 0 / 0.6475 GB, free: 5.891 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.1883, allocations: 23.97 kB / 0.6475 GB, free: 5.867 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002513/0.1885, allocations: 165.7 kB / 0.6477 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003481/0.1889, allocations: 78.41 kB / 0.6478 GB, free: 5.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.476e-05/0.189, allocations: 24.94 kB / 0.6478 GB, free: 5.543 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.189, allocations: 0 / 0.6478 GB, free: 5.543 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.189, allocations: 34.56 kB / 0.6478 GB, free: 5.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1891, allocations: 4 kB / 0.6478 GB, free: 5.496 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.003181/0.1922, allocations: 0.5762 MB / 0.6484 GB, free: 4.867 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.1923, allocations: 55.34 kB / 0.6484 GB, free: 4.801 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.11e-05/0.1924, allocations: 101.8 kB / 0.6485 GB, free: 4.691 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.1924, allocations: 25.7 kB / 0.6486 GB, free: 4.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.1924, allocations: 84.14 kB / 0.6487 GB, free: 4.574 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.1925, allocations: 15.86 kB / 0.6487 GB, free: 4.559 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.998e-05/0.1926, allocations: 29.69 kB / 0.6487 GB, free: 4.523 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1927, allocations: 314.8 kB / 0.649 GB, free: 4.207 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001423/0.1928, allocations: 44.09 kB / 0.649 GB, free: 4.164 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.1929, allocations: 36.03 kB / 0.6491 GB, free: 4.129 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.1932, allocations: 84.81 kB / 0.6492 GB, free: 4.043 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.1932, allocations: 0 / 0.6492 GB, free: 4.043 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003476/0.1936, allocations: 117.6 kB / 0.6493 GB, free: 3.922 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1936, allocations: 7.938 kB / 0.6493 GB, free: 3.914 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1936, allocations: 3.938 kB / 0.6493 GB, free: 3.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.1937, allocations: 3.984 kB / 0.6493 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.1939, allocations: 23.97 kB / 0.6493 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1939, allocations: 7.984 kB / 0.6493 GB, free: 3.875 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.194, allocations: 8 kB / 0.6493 GB, free: 3.867 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.1941, allocations: 7.984 kB / 0.6493 GB, free: 3.859 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 9.273e-05/0.1942, allocations: 105.8 kB / 0.6494 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.1942, allocations: 11.89 kB / 0.6494 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.363e-05/0.1943, allocations: 11.97 kB / 0.6494 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1943, allocations: 0 / 0.6494 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.1943, allocations: 4 kB / 0.6495 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1943, allocations: 0 / 0.6495 GB, free: 3.715 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.1945, allocations: 183.7 kB / 0.6496 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1945, allocations: 0 / 0.6496 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.1948, allocations: 27.91 kB / 0.6497 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1948, allocations: 7.875 kB / 0.6497 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.1948, allocations: 11.98 kB / 0.6497 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1948, allocations: 3.938 kB / 0.6497 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1948, allocations: 0 / 0.6497 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005864/0.1954, allocations: 185 kB / 0.6499 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.1955, allocations: 85.03 kB / 0.6499 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.1955, allocations: 8.031 kB / 0.6499 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.1957, allocations: 4 kB / 0.6499 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.972e-05/0.1957, allocations: 7.984 kB / 0.65 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.1957, allocations: 7.984 kB / 0.65 GB, free: 3.109 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.707e-05/0.1958, allocations: 79.34 kB / 0.65 GB, free: 3.031 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1958, allocations: 0 / 0.65 GB, free: 3.031 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002517/0.196, allocations: 35.88 kB / 0.6501 GB, free: 2.996 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.0002381/0.1963, allocations: 123.2 kB / 0.6502 GB, free: 2.867 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003523/0.1966, allocations: 95.95 kB / 0.6503 GB, free: 2.773 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1967, allocations: 4 kB / 0.6503 GB, free: 2.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.1968, allocations: 47.95 kB / 0.6503 GB, free: 2.723 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.1971, allocations: 4.609 kB / 0.6503 GB, free: 2.719 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006294/0.1977, allocations: 169.8 kB / 0.6505 GB, free: 2.523 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.1979, allocations: 0.6768 MB / 0.6512 GB, free: 1.82 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001601/0.1981, allocations: 32.31 kB / 0.6512 GB, free: 1.789 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.243e-05/0.1982, allocations: 23.42 kB / 0.6512 GB, free: 1.77 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1982, allocations: 0 / 0.6512 GB, free: 1.77 MB / 494.1 MB Notification: Performance of Templates: time 0.004255/0.2024, allocations: 1.502 MB / 0.6527 GB, free: 316 kB / 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)