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.0008314/0.0008314, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008448/0.0008448, allocations: 181.4 kB / 16.92 MB, free: 6.777 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.502/1.502, allocations: 223.3 MB / 241 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7664/0.7664, allocations: 115.5 MB / 407.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.000327, allocations: 12 kB / 495.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1719, allocations: 77.53 MB / 0.56 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00146/0.1734, allocations: 1 MB / 0.5609 GB, free: 8.031 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.1745, allocations: 0.6435 MB / 0.5616 GB, free: 7.383 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.324e-05/0.1745, allocations: 0 / 0.5616 GB, free: 7.383 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.368e-05/0.1745, allocations: 0 / 0.5616 GB, free: 7.383 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.209e-05/0.1746, allocations: 15.91 kB / 0.5616 GB, free: 7.367 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.175, allocations: 87.7 kB / 0.5617 GB, free: 7.281 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.322e-05/0.175, allocations: 27.86 kB / 0.5617 GB, free: 7.254 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.841e-05/0.1751, allocations: 7.984 kB / 0.5617 GB, free: 7.246 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.203e-05/0.1751, allocations: 4 kB / 0.5617 GB, free: 7.242 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.5e-05/0.1752, allocations: 15.92 kB / 0.5617 GB, free: 7.227 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.1752, allocations: 4 kB / 0.5617 GB, free: 7.223 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003536/0.1756, allocations: 147.7 kB / 0.5619 GB, free: 7.078 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.1756, allocations: 0 / 0.5619 GB, free: 7.078 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.75e-05/0.1756, allocations: 41.62 kB / 0.5619 GB, free: 7.031 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.1758, allocations: 104 kB / 0.562 GB, free: 6.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1758, allocations: 4 kB / 0.562 GB, free: 6.926 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1758, allocations: 0 / 0.562 GB, free: 6.926 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1759, allocations: 0 / 0.562 GB, free: 6.926 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.0005524/0.1764, allocations: 343.5 kB / 0.5623 GB, free: 6.539 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1765, allocations: 12.02 kB / 0.5623 GB, free: 6.527 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004144/0.1769, allocations: 28.91 kB / 0.5624 GB, free: 6.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.177, allocations: 172.2 kB / 0.5625 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.177, allocations: 384 / 0.5625 GB, free: 6.293 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.1771, allocations: 8.375 kB / 0.5625 GB, free: 6.285 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.1772, allocations: 54.2 kB / 0.5626 GB, free: 6.227 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1773, allocations: 192 / 0.5626 GB, free: 6.227 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.1773, allocations: 11.94 kB / 0.5626 GB, free: 6.215 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1773, allocations: 0 / 0.5626 GB, free: 6.215 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.1774, allocations: 27.97 kB / 0.5626 GB, free: 6.188 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.1776, allocations: 161.7 kB / 0.5628 GB, free: 5.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/0.1779, allocations: 66.52 kB / 0.5628 GB, free: 5.906 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.148e-05/0.178, allocations: 32.94 kB / 0.5629 GB, free: 5.871 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.1781, allocations: 3.938 kB / 0.5629 GB, free: 5.867 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.1781, allocations: 34.56 kB / 0.5629 GB, free: 5.824 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1781, allocations: 0 / 0.5629 GB, free: 5.824 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.003358/0.1814, allocations: 0.5759 MB / 0.5635 GB, free: 5.195 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.1815, allocations: 55.41 kB / 0.5635 GB, free: 5.129 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.243e-05/0.1816, allocations: 93.86 kB / 0.5636 GB, free: 5.027 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.1816, allocations: 25.7 kB / 0.5636 GB, free: 4.996 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.265e-05/0.1816, allocations: 88.08 kB / 0.5637 GB, free: 4.906 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.1817, allocations: 31.75 kB / 0.5638 GB, free: 4.875 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/0.1817, allocations: 13.72 kB / 0.5638 GB, free: 4.855 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1819, allocations: 314.8 kB / 0.5641 GB, free: 4.539 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.182, allocations: 31.97 kB / 0.5641 GB, free: 4.508 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.1822, allocations: 39.95 kB / 0.5641 GB, free: 4.469 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.1824, allocations: 80.83 kB / 0.5642 GB, free: 4.387 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1824, allocations: 0 / 0.5642 GB, free: 4.387 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003387/0.1828, allocations: 117.6 kB / 0.5643 GB, free: 4.266 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.1828, allocations: 15.92 kB / 0.5643 GB, free: 4.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1828, allocations: 0 / 0.5643 GB, free: 4.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.1828, allocations: 0 / 0.5643 GB, free: 4.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.1831, allocations: 27.91 kB / 0.5644 GB, free: 4.223 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1831, allocations: 0 / 0.5644 GB, free: 4.223 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.1832, allocations: 8 kB / 0.5644 GB, free: 4.215 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.1832, allocations: 8.312 kB / 0.5644 GB, free: 4.207 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 0.0001006/0.1834, allocations: 109.8 kB / 0.5645 GB, free: 4.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.1834, allocations: 11.84 kB / 0.5645 GB, free: 4.078 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.206e-05/0.1834, allocations: 7.969 kB / 0.5645 GB, free: 4.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1835, allocations: 3.984 kB / 0.5645 GB, free: 4.066 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1835, allocations: 3.938 kB / 0.5645 GB, free: 4.062 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1835, allocations: 8 kB / 0.5645 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.1837, allocations: 183.7 kB / 0.5647 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1837, allocations: 0 / 0.5647 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.1839, allocations: 23.97 kB / 0.5647 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1839, allocations: 3.938 kB / 0.5647 GB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.1839, allocations: 7.984 kB / 0.5647 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1839, allocations: 0 / 0.5647 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1839, allocations: 0 / 0.5647 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005238/0.1845, allocations: 193 kB / 0.5649 GB, free: 3.586 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.1845, allocations: 81.17 kB / 0.565 GB, free: 3.488 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.1845, allocations: 12.03 kB / 0.565 GB, free: 3.477 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.1847, allocations: 12.05 kB / 0.565 GB, free: 3.465 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.1847, allocations: 4 kB / 0.565 GB, free: 3.461 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.1848, allocations: 7.984 kB / 0.565 GB, free: 3.453 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.433e-05/0.1848, allocations: 79.22 kB / 0.5651 GB, free: 3.375 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1849, allocations: 0 / 0.5651 GB, free: 3.375 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.1851, allocations: 35.94 kB / 0.5651 GB, free: 3.34 MB / 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.0001879/0.1853, allocations: 123.3 kB / 0.5653 GB, free: 3.211 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003257/0.1856, allocations: 87.86 kB / 0.5653 GB, free: 3.125 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1856, allocations: 0 / 0.5653 GB, free: 3.125 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.1858, allocations: 47.95 kB / 0.5654 GB, free: 3.078 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.186, allocations: 8 kB / 0.5654 GB, free: 3.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006281/0.1867, allocations: 178.5 kB / 0.5656 GB, free: 2.871 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.1869, allocations: 0.6809 MB / 0.5662 GB, free: 2.164 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002173/0.1871, allocations: 32.31 kB / 0.5663 GB, free: 2.133 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.584e-05/0.1872, allocations: 19.41 kB / 0.5663 GB, free: 2.113 MB / 430.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1872, allocations: 0 / 0.5663 GB, free: 2.113 MB / 430.1 MB Notification: Performance of Templates: time 0.00419/0.1914, allocations: 1.447 MB / 0.5677 GB, free: 0.7188 MB / 430.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)