Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001407/0.001407, allocations: 192.1 kB / 16.25 MB, free: 6.633 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.406/1.406, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002482/0.002482, allocations: 290.8 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.087/1.087, allocations: 178.6 MB / 0.5069 GB, free: 4.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002806/0.002806, allocations: 99.09 kB / 0.6059 GB, free: 25.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.169, allocations: 89.15 MB / 0.693 GB, free: 4.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002435/0.1715, allocations: 1.32 MB / 0.6943 GB, free: 3.324 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004882/0.172, allocations: 243 kB / 0.6945 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.462e-05/0.172, allocations: 4 kB / 0.6945 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.172, allocations: 0 / 0.6945 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.043e-05/0.1721, allocations: 1.312 kB / 0.6945 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.1724, allocations: 35.89 kB / 0.6946 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.293e-05/0.1724, allocations: 20.67 kB / 0.6946 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.508e-05/0.1725, allocations: 3.984 kB / 0.6946 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.455e-05/0.1725, allocations: 12.59 kB / 0.6946 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.365e-05/0.1726, allocations: 8.484 kB / 0.6946 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.1726, allocations: 4 kB / 0.6946 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.1727, allocations: 43.41 kB / 0.6946 GB, free: 2.965 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.1727, allocations: 3.984 kB / 0.6946 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.1727, allocations: 15.92 kB / 0.6947 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.1728, allocations: 36.19 kB / 0.6947 GB, free: 2.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1729, allocations: 0 / 0.6947 GB, free: 2.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.839e-06/0.1729, allocations: 0 / 0.6947 GB, free: 2.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1729, allocations: 7.938 kB / 0.6947 GB, free: 2.902 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004041/0.1733, allocations: 332.3 kB / 0.695 GB, free: 2.527 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1733, allocations: 8.031 kB / 0.695 GB, free: 2.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.1735, allocations: 12.94 kB / 0.695 GB, free: 2.508 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.1736, allocations: 168.3 kB / 0.6952 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1736, allocations: 384 / 0.6952 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.1736, allocations: 8.375 kB / 0.6952 GB, free: 2.297 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.1737, allocations: 42.25 kB / 0.6952 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.1738, allocations: 192 / 0.6952 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1738, allocations: 3.938 kB / 0.6953 GB, free: 2.246 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1738, allocations: 0 / 0.6953 GB, free: 2.246 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.462e-05/0.1738, allocations: 12 kB / 0.6953 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.174, allocations: 161.6 kB / 0.6954 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.1741, allocations: 50.5 kB / 0.6955 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.93e-05/0.1742, allocations: 28.91 kB / 0.6955 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.1742, allocations: 0 / 0.6955 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1742, allocations: 30.56 kB / 0.6955 GB, free: 1.898 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.1742, allocations: 0 / 0.6955 GB, free: 1.898 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.002176/0.1764, allocations: 0.4941 MB / 0.696 GB, free: 1.352 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.1765, allocations: 51.41 kB / 0.6961 GB, free: 1.289 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.627e-05/0.1765, allocations: 97.84 kB / 0.6961 GB, free: 1.184 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.1765, allocations: 33.7 kB / 0.6962 GB, free: 1.145 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.483e-05/0.1766, allocations: 80.14 kB / 0.6963 GB, free: 1.062 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/0.1766, allocations: 23.56 kB / 0.6963 GB, free: 1.039 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.1767, allocations: 25.7 kB / 0.6963 GB, free: 1.008 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1768, allocations: 310.8 kB / 0.6966 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.043e-05/0.1769, allocations: 27.92 kB / 0.6966 GB, free: 0.668 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.059e-05/0.1769, allocations: 20 kB / 0.6966 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.177, allocations: 64.86 kB / 0.6967 GB, free: 0.582 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.177, allocations: 0 / 0.6967 GB, free: 0.582 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000147/0.1772, allocations: 93.59 kB / 0.6968 GB, free: 496 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1772, allocations: 11.94 kB / 0.6968 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.1772, allocations: 0 / 0.6968 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.1772, allocations: 3.938 kB / 0.6968 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.1774, allocations: 12.28 kB / 0.6968 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1774, allocations: 448 / 0.6968 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.137e-05/0.1775, allocations: 4 kB / 0.6968 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1775, allocations: 7.938 kB / 0.6968 GB, free: 456 kB / 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 (9): * Single equations (assignments): 9 * 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 8.576e-05/0.1776, allocations: 121.8 kB / 0.697 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.1776, allocations: 7.938 kB / 0.697 GB, free: 316 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.867e-05/0.1777, allocations: 15.97 kB / 0.697 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.1777, allocations: 0 / 0.697 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1777, allocations: 0 / 0.697 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1777, allocations: 0 / 0.697 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.1778, allocations: 183.5 kB / 0.6971 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.1779, allocations: 0 / 0.6971 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.178, allocations: 12 kB / 0.6972 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.178, allocations: 3.938 kB / 0.6972 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.178, allocations: 4 kB / 0.6972 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.178, allocations: 0 / 0.6972 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.178, allocations: 3.984 kB / 0.6972 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.1783, allocations: 149 kB / 0.6973 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.1784, allocations: 81.05 kB / 0.6974 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.1784, allocations: 0 / 0.6974 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.1785, allocations: 8.031 kB / 0.6974 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-05/0.1785, allocations: 12.05 kB / 0.6974 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.1785, allocations: 0 / 0.6974 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.366e-05/0.1786, allocations: 75.28 kB / 0.6975 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1786, allocations: 0 / 0.6975 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001935/0.1788, allocations: 16 kB / 0.6975 GB, free: 15.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 (8): * Single equations (assignments): 8 * 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.0001124/0.1789, allocations: 99.25 kB / 0.6976 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001615/0.1791, allocations: 71.81 kB / 0.6977 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1791, allocations: 0 / 0.6977 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.53e-05/0.1792, allocations: 28 kB / 0.6977 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.1794, allocations: 12.64 kB / 0.6977 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005212/0.1799, allocations: 182.8 kB / 0.6979 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.1802, allocations: 0.6845 MB / 0.6985 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.165e-05/0.1803, allocations: 15.94 kB / 0.6986 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/0.1803, allocations: 7.438 kB / 0.6986 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1803, allocations: 0 / 0.6986 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.003099/0.1834, allocations: 0.7054 MB / 0.6993 GB, free: 13.86 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)