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.001167/0.001167, allocations: 102.2 kB / 16.27 MB, free: 6 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.001101/0.001101, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.254/1.254, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002173/0.002173, allocations: 294.8 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8945/0.8945, allocations: 169.3 MB / 0.4988 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 94.95 kB / 0.5959 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1559, allocations: 86.97 MB / 0.6809 GB, free: 8.184 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002444/0.1584, allocations: 1.262 MB / 0.6821 GB, free: 6.906 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004661/0.1589, allocations: 231.2 kB / 0.6823 GB, free: 6.68 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.755e-05/0.1589, allocations: 0 / 0.6823 GB, free: 6.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.688e-05/0.1589, allocations: 0 / 0.6823 GB, free: 6.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.825e-05/0.159, allocations: 0 / 0.6823 GB, free: 6.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003042/0.1593, allocations: 51.73 kB / 0.6824 GB, free: 6.629 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.698e-05/0.1594, allocations: 16 kB / 0.6824 GB, free: 6.613 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.1594, allocations: 0 / 0.6824 GB, free: 6.613 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.303e-05/0.1594, allocations: 15.92 kB / 0.6824 GB, free: 6.598 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.098e-05/0.1595, allocations: 4 kB / 0.6824 GB, free: 6.594 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.1595, allocations: 4 kB / 0.6824 GB, free: 6.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.1596, allocations: 43.95 kB / 0.6824 GB, free: 6.547 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.1597, allocations: 15.97 kB / 0.6824 GB, free: 6.531 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.1597, allocations: 11.94 kB / 0.6825 GB, free: 6.52 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.1598, allocations: 36.17 kB / 0.6825 GB, free: 6.484 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1598, allocations: 0 / 0.6825 GB, free: 6.484 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1598, allocations: 3.938 kB / 0.6825 GB, free: 6.48 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.1598, allocations: 0 / 0.6825 GB, free: 6.48 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.0003657/0.1602, allocations: 341.2 kB / 0.6828 GB, free: 6.098 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.1603, allocations: 8.031 kB / 0.6828 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.1604, allocations: 16.92 kB / 0.6828 GB, free: 6.074 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.14e-05/0.1605, allocations: 164.4 kB / 0.683 GB, free: 5.875 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1605, allocations: 4.359 kB / 0.683 GB, free: 5.871 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.1605, allocations: 384 / 0.683 GB, free: 5.871 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.1607, allocations: 46.25 kB / 0.6831 GB, free: 5.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.1607, allocations: 192 / 0.6831 GB, free: 5.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1607, allocations: 7.938 kB / 0.6831 GB, free: 5.812 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1607, allocations: 0 / 0.6831 GB, free: 5.812 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.489e-05/0.1608, allocations: 12 kB / 0.6831 GB, free: 5.801 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.1609, allocations: 153.7 kB / 0.6832 GB, free: 5.602 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.695e-05/0.161, allocations: 50.56 kB / 0.6833 GB, free: 5.543 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.703e-05/0.161, allocations: 24.97 kB / 0.6833 GB, free: 5.516 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.1611, allocations: 4 kB / 0.6833 GB, free: 5.512 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.1611, allocations: 30.56 kB / 0.6833 GB, free: 5.473 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 8.81e-07/0.1611, allocations: 0 / 0.6833 GB, free: 5.473 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.002015/0.1631, allocations: 0.4941 MB / 0.6838 GB, free: 4.926 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.1632, allocations: 51.41 kB / 0.6839 GB, free: 4.863 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.494e-05/0.1632, allocations: 89.86 kB / 0.6839 GB, free: 4.766 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.1632, allocations: 29.64 kB / 0.684 GB, free: 4.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.392e-05/0.1633, allocations: 92.03 kB / 0.6841 GB, free: 4.637 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.725e-05/0.1633, allocations: 27.64 kB / 0.6841 GB, free: 4.609 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.1633, allocations: 21.72 kB / 0.6841 GB, free: 4.582 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.428e-05/0.1634, allocations: 318.8 kB / 0.6844 GB, free: 4.262 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.463e-05/0.1635, allocations: 20 kB / 0.6844 GB, free: 4.242 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.99e-05/0.1635, allocations: 23.98 kB / 0.6844 GB, free: 4.219 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.832e-05/0.1636, allocations: 52.86 kB / 0.6845 GB, free: 4.164 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1636, allocations: 0 / 0.6845 GB, free: 4.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001441/0.1638, allocations: 105.5 kB / 0.6846 GB, free: 4.055 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1638, allocations: 7.938 kB / 0.6846 GB, free: 4.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1638, allocations: 3.938 kB / 0.6846 GB, free: 4.043 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1638, allocations: 4 kB / 0.6846 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.164, allocations: 12.44 kB / 0.6846 GB, free: 4.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.164, allocations: 3.938 kB / 0.6846 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.325e-05/0.1641, allocations: 0 / 0.6846 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.1641, allocations: 8 kB / 0.6846 GB, free: 4.016 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 (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 7.138e-05/0.1641, allocations: 110.1 kB / 0.6847 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.1642, allocations: 15.92 kB / 0.6848 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.653e-05/0.1642, allocations: 19.95 kB / 0.6848 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1642, allocations: 3.938 kB / 0.6848 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1642, allocations: 0 / 0.6848 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.1642, allocations: 0 / 0.6848 GB, free: 3.855 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.1644, allocations: 167.5 kB / 0.6849 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1644, allocations: 4 kB / 0.6849 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.1645, allocations: 8 kB / 0.685 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1645, allocations: 7.938 kB / 0.685 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.1645, allocations: 4 kB / 0.685 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1646, allocations: 0 / 0.685 GB, free: 3.621 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1646, allocations: 4 kB / 0.685 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.1648, allocations: 149 kB / 0.6851 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.491e-05/0.1648, allocations: 88.98 kB / 0.6852 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.1648, allocations: 0 / 0.6852 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.165, allocations: 4 kB / 0.6852 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.152e-05/0.165, allocations: 7.984 kB / 0.6852 GB, free: 3.336 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.396e-06/0.165, allocations: 4 kB / 0.6852 GB, free: 3.332 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.15e-05/0.165, allocations: 79.34 kB / 0.6853 GB, free: 3.254 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.165, allocations: 0 / 0.6853 GB, free: 3.254 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000189/0.1652, allocations: 12 kB / 0.6853 GB, free: 3.242 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 (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.0001046/0.1653, allocations: 103.2 kB / 0.6854 GB, free: 3.133 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001474/0.1655, allocations: 59.91 kB / 0.6855 GB, free: 3.074 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1655, allocations: 4 kB / 0.6855 GB, free: 3.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.136e-05/0.1656, allocations: 32.09 kB / 0.6855 GB, free: 3.039 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.1658, allocations: 14.33 kB / 0.6855 GB, free: 3.027 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005279/0.1663, allocations: 200.3 kB / 0.6857 GB, free: 2.801 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.1665, allocations: 0.6845 MB / 0.6864 GB, free: 2.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.885e-05/0.1666, allocations: 11.44 kB / 0.6864 GB, free: 2.078 MB / 494.1 MB Notification: Performance of SimCode: time 1.91e-07/0.1666, allocations: 0 / 0.6864 GB, free: 2.078 MB / 494.1 MB Notification: Performance of Templates: time 0.002048/0.1686, allocations: 0.8913 MB / 0.6872 GB, free: 1.195 MB / 494.1 MB 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)