Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001713/0.001713, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001934/0.001934, allocations: 190.6 kB / 16.25 MB, free: 6.152 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.475/1.475, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002466/0.002466, allocations: 287.1 kB / 290.4 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.074/1.074, allocations: 178.6 MB / 0.5069 GB, free: 4.711 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002793/0.002793, allocations: 101.2 kB / 0.6059 GB, free: 25.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1685, allocations: 89.15 MB / 0.693 GB, free: 4.68 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002453/0.1709, allocations: 1.344 MB / 0.6943 GB, free: 3.332 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.172, allocations: 0.6405 MB / 0.6949 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.571e-05/0.1721, allocations: 0 / 0.6949 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.717e-05/0.1721, allocations: 0 / 0.6949 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.298e-05/0.1722, allocations: 9.672 kB / 0.6949 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.1726, allocations: 95.69 kB / 0.695 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.598e-05/0.1727, allocations: 32.45 kB / 0.6951 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.82e-05/0.1727, allocations: 4 kB / 0.6951 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.082e-05/0.1727, allocations: 5.719 kB / 0.6951 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.898e-05/0.1728, allocations: 19.91 kB / 0.6951 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.1728, allocations: 4 kB / 0.6951 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002632/0.1731, allocations: 139.8 kB / 0.6952 GB, free: 2.391 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.1731, allocations: 11.92 kB / 0.6952 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.589e-05/0.1732, allocations: 15.98 kB / 0.6953 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.1734, allocations: 100 kB / 0.6954 GB, free: 2.266 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1734, allocations: 0 / 0.6954 GB, free: 2.266 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1734, allocations: 0 / 0.6954 GB, free: 2.266 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.1734, allocations: 0 / 0.6954 GB, free: 2.266 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.0005468/0.174, allocations: 347.5 kB / 0.6957 GB, free: 1.875 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.174, allocations: 12.03 kB / 0.6957 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004594/0.1745, allocations: 32.81 kB / 0.6957 GB, free: 1.832 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.1746, allocations: 172.2 kB / 0.6959 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.1746, allocations: 384 / 0.6959 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.1747, allocations: 4.375 kB / 0.6959 GB, free: 1.621 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.1749, allocations: 62.16 kB / 0.696 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.1749, allocations: 192 / 0.696 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.1749, allocations: 7.922 kB / 0.696 GB, free: 1.547 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1749, allocations: 4 kB / 0.696 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/0.1751, allocations: 27.97 kB / 0.696 GB, free: 1.516 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002121/0.1753, allocations: 157.7 kB / 0.6961 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003441/0.1757, allocations: 70.58 kB / 0.6962 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.945e-05/0.1758, allocations: 28.88 kB / 0.6962 GB, free: 1.203 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.1758, allocations: 3.984 kB / 0.6962 GB, free: 1.199 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.1758, allocations: 38.56 kB / 0.6963 GB, free: 1.152 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.1758, allocations: 0 / 0.6963 GB, free: 1.152 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.003761/0.1796, allocations: 0.5759 MB / 0.6968 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.1796, allocations: 51.41 kB / 0.6969 GB, free: 472 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.971e-05/0.1797, allocations: 93.86 kB / 0.697 GB, free: 368 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.1798, allocations: 33.69 kB / 0.697 GB, free: 328 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.1798, allocations: 84.27 kB / 0.6971 GB, free: 240 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.1798, allocations: 15.72 kB / 0.6971 GB, free: 224 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.348e-05/0.1799, allocations: 25.69 kB / 0.6971 GB, free: 192 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1801, allocations: 314.8 kB / 0.6974 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.1802, allocations: 35.97 kB / 0.6975 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.1804, allocations: 43.97 kB / 0.6975 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.1806, allocations: 88.88 kB / 0.6976 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1806, allocations: 0 / 0.6976 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003622/0.181, allocations: 121.6 kB / 0.6977 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.181, allocations: 9.656 kB / 0.6977 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1811, allocations: 4 kB / 0.6977 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1811, allocations: 0 / 0.6977 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002263/0.1813, allocations: 23.91 kB / 0.6977 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.1813, allocations: 4 kB / 0.6977 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.1815, allocations: 7.984 kB / 0.6978 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.1815, allocations: 4 kB / 0.6978 GB, free: 15.53 MB / 0.4981 GB 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.0001147/0.1816, allocations: 121.8 kB / 0.6979 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.639e-05/0.1817, allocations: 11.78 kB / 0.6979 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.479e-05/0.1818, allocations: 11.97 kB / 0.6979 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1818, allocations: 4 kB / 0.6979 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1818, allocations: 0 / 0.6979 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1818, allocations: 0 / 0.6979 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.182, allocations: 179.7 kB / 0.6981 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.182, allocations: 0 / 0.6981 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.1822, allocations: 19.97 kB / 0.6981 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.1822, allocations: 7.938 kB / 0.6981 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.1823, allocations: 7.984 kB / 0.6981 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.1823, allocations: 0 / 0.6981 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1823, allocations: 0 / 0.6981 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005508/0.1828, allocations: 193 kB / 0.6983 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.1829, allocations: 81.17 kB / 0.6984 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.132e-05/0.1829, allocations: 12.38 kB / 0.6984 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.1831, allocations: 8 kB / 0.6984 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/0.1832, allocations: 3.984 kB / 0.6984 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.1832, allocations: 4 kB / 0.6984 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.121e-05/0.1832, allocations: 75.28 kB / 0.6985 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1832, allocations: 0 / 0.6985 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002599/0.1835, allocations: 39.92 kB / 0.6985 GB, free: 14.67 MB / 0.4981 GB 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.0002377/0.1838, allocations: 131.3 kB / 0.6986 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003536/0.1841, allocations: 87.86 kB / 0.6987 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1841, allocations: 0 / 0.6987 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.1843, allocations: 51.95 kB / 0.6988 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.1846, allocations: 8.641 kB / 0.6988 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006866/0.1853, allocations: 174.3 kB / 0.6989 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.1856, allocations: 0.6768 MB / 0.6996 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002597/0.1859, allocations: 31.86 kB / 0.6996 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.904e-05/0.1859, allocations: 19.42 kB / 0.6996 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1859, allocations: 3.938 kB / 0.6997 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.004777/0.1907, allocations: 1.497 MB / 0.7011 GB, free: 11.99 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)