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.00707/0.00707, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001698/0.001698, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002142/0.002142, allocations: 291.1 kB / 290.8 MB, free: 1.77 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9666/0.9666, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 103.8 kB / 0.6815 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1589, allocations: 86.96 MB / 0.7664 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00225/0.1612, allocations: 1.295 MB / 0.7677 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.1623, allocations: 0.6323 MB / 0.7683 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.128e-05/0.1623, allocations: 7.938 kB / 0.7683 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.179e-05/0.1624, allocations: 3.938 kB / 0.7683 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.748e-05/0.1624, allocations: 4 kB / 0.7683 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.1629, allocations: 107.5 kB / 0.7684 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.974e-05/0.1629, allocations: 27.92 kB / 0.7684 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.163, allocations: 3.938 kB / 0.7684 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.374e-05/0.163, allocations: 19.92 kB / 0.7684 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.785e-05/0.1631, allocations: 11.97 kB / 0.7685 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.1631, allocations: 0 / 0.7685 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002705/0.1634, allocations: 139.8 kB / 0.7686 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.1634, allocations: 7.922 kB / 0.7686 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.332e-05/0.1634, allocations: 12 kB / 0.7686 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.1636, allocations: 95.7 kB / 0.7687 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1636, allocations: 4 kB / 0.7687 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1636, allocations: 0 / 0.7687 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.1636, allocations: 0 / 0.7687 GB, free: 6.051 MB / 0.5606 GB 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.0004278/0.1641, allocations: 355.2 kB / 0.769 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.1641, allocations: 12.03 kB / 0.7691 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003816/0.1645, allocations: 32.89 kB / 0.7691 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.964e-05/0.1646, allocations: 164.3 kB / 0.7692 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.1646, allocations: 384 / 0.7692 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.1647, allocations: 4.375 kB / 0.7692 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.1648, allocations: 58.22 kB / 0.7693 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1648, allocations: 4.125 kB / 0.7693 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.1648, allocations: 7.922 kB / 0.7693 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1649, allocations: 4 kB / 0.7693 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.165, allocations: 27.97 kB / 0.7693 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.1652, allocations: 165.7 kB / 0.7695 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.1655, allocations: 70.47 kB / 0.7696 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.021e-05/0.1656, allocations: 24.94 kB / 0.7696 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.907e-05/0.1656, allocations: 0 / 0.7696 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.1656, allocations: 38.56 kB / 0.7696 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.1656, allocations: 0 / 0.7696 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.003077/0.1687, allocations: 0.5798 MB / 0.7702 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.1688, allocations: 55.41 kB / 0.7702 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.446e-05/0.1688, allocations: 89.86 kB / 0.7703 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.1688, allocations: 29.7 kB / 0.7704 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.94e-05/0.1689, allocations: 92.27 kB / 0.7704 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.1689, allocations: 19.84 kB / 0.7705 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.169, allocations: 25.7 kB / 0.7705 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1691, allocations: 314.8 kB / 0.7708 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.1692, allocations: 35.97 kB / 0.7708 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.1694, allocations: 43.95 kB / 0.7709 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.1696, allocations: 80.81 kB / 0.7709 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1697, allocations: 0 / 0.7709 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003451/0.17, allocations: 125.6 kB / 0.7711 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.17, allocations: 7.938 kB / 0.7711 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.17, allocations: 0 / 0.7711 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.1701, allocations: 4 kB / 0.7711 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.1703, allocations: 23.91 kB / 0.7711 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.1703, allocations: 0 / 0.7711 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.1704, allocations: 4.062 kB / 0.7711 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.1704, allocations: 11.98 kB / 0.7711 GB, free: 3.305 MB / 0.5606 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 7.636e-05/0.1705, allocations: 114.5 kB / 0.7712 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.1706, allocations: 11.89 kB / 0.7712 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.753e-05/0.1706, allocations: 7.969 kB / 0.7712 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.1706, allocations: 8 kB / 0.7713 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.1707, allocations: 0 / 0.7713 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.1707, allocations: 3.938 kB / 0.7713 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.1708, allocations: 183.5 kB / 0.7714 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1708, allocations: 0 / 0.7714 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.171, allocations: 19.97 kB / 0.7714 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.171, allocations: 3.938 kB / 0.7715 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.1711, allocations: 11.98 kB / 0.7715 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1711, allocations: 0 / 0.7715 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1711, allocations: 0 / 0.7715 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005106/0.1716, allocations: 193 kB / 0.7716 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.845e-05/0.1716, allocations: 85.08 kB / 0.7717 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.1717, allocations: 4.328 kB / 0.7717 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.1718, allocations: 15.98 kB / 0.7717 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.175e-05/0.1719, allocations: 0 / 0.7717 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.1719, allocations: 7.984 kB / 0.7718 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.086e-05/0.1719, allocations: 79.28 kB / 0.7718 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1719, allocations: 0 / 0.7718 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002379/0.1722, allocations: 31.88 kB / 0.7719 GB, free: 2.441 MB / 0.5606 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.0001935/0.1724, allocations: 135.2 kB / 0.772 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003373/0.1727, allocations: 87.86 kB / 0.7721 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1727, allocations: 0 / 0.7721 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.1729, allocations: 51.95 kB / 0.7721 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.1731, allocations: 14.3 kB / 0.7721 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005777/0.1737, allocations: 166.1 kB / 0.7723 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.1739, allocations: 0.6845 MB / 0.773 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001669/0.1741, allocations: 31.88 kB / 0.773 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.474e-05/0.1742, allocations: 15.42 kB / 0.773 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.1742, allocations: 4 kB / 0.773 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of Templates: time 0.3314/0.5055, allocations: 1.498 MB / 0.7745 GB, free: 14.6 MB / 0.5606 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)