Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.01122/0.01122, allocations: 104.8 kB / 15.73 MB, free: 6.035 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.001894/0.001894, allocations: 199.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.1 MB / 222.5 MB, free: 4.383 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6737/0.6737, allocations: 95.47 MB / 365.4 MB, free: 9.711 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002874/0.002874, allocations: 71.91 kB / 0.5036 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1528, allocations: 69.08 MB / 0.5711 GB, free: 8.332 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002494/0.1554, allocations: 1.307 MB / 0.5724 GB, free: 7.012 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.1568, allocations: 0.7927 MB / 0.5732 GB, free: 6.211 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.81e-05/0.1568, allocations: 4 kB / 0.5732 GB, free: 6.207 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.777e-05/0.1568, allocations: 3.938 kB / 0.5732 GB, free: 6.203 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.469e-05/0.1569, allocations: 11.92 kB / 0.5732 GB, free: 6.191 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006009/0.1575, allocations: 147.3 kB / 0.5733 GB, free: 6.047 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.458e-05/0.1576, allocations: 31.84 kB / 0.5733 GB, free: 6.016 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.397e-05/0.1577, allocations: 0 / 0.5733 GB, free: 6.016 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.536e-05/0.1577, allocations: 8 kB / 0.5734 GB, free: 6.008 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.612e-05/0.1578, allocations: 19.86 kB / 0.5734 GB, free: 5.988 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.1578, allocations: 4 kB / 0.5734 GB, free: 5.984 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004043/0.1582, allocations: 211.7 kB / 0.5736 GB, free: 5.777 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.1582, allocations: 4 kB / 0.5736 GB, free: 5.773 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.1583, allocations: 11.94 kB / 0.5736 GB, free: 5.762 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002338/0.1585, allocations: 123.8 kB / 0.5737 GB, free: 5.641 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1585, allocations: 7.922 kB / 0.5737 GB, free: 5.633 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1585, allocations: 0 / 0.5737 GB, free: 5.633 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.1585, allocations: 0 / 0.5737 GB, free: 5.633 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004136/0.1589, allocations: 363.4 kB / 0.5741 GB, free: 5.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.159, allocations: 11.98 kB / 0.5741 GB, free: 5.219 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.159, allocations: 8.844 kB / 0.5741 GB, free: 5.211 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.1592, allocations: 176.3 kB / 0.5743 GB, free: 5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.1592, allocations: 384 / 0.5743 GB, free: 5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.1592, allocations: 7.938 kB / 0.5743 GB, free: 4.992 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.1593, allocations: 33.7 kB / 0.5743 GB, free: 4.953 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.1594, allocations: 3.984 kB / 0.5743 GB, free: 4.949 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.1594, allocations: 0 / 0.5743 GB, free: 4.949 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.1594, allocations: 0 / 0.5743 GB, free: 4.949 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.632e-05/0.1594, allocations: 8 kB / 0.5743 GB, free: 4.941 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.1596, allocations: 157.7 kB / 0.5745 GB, free: 4.738 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.1598, allocations: 38.44 kB / 0.5745 GB, free: 4.691 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.453e-05/0.1598, allocations: 12.86 kB / 0.5745 GB, free: 4.676 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.1599, allocations: 0 / 0.5745 GB, free: 4.676 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.1599, allocations: 30.56 kB / 0.5745 GB, free: 4.637 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.1599, allocations: 0 / 0.5745 GB, free: 4.637 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.001175/0.1611, allocations: 428.2 kB / 0.5749 GB, free: 4.145 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.1611, allocations: 55.41 kB / 0.575 GB, free: 4.078 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.08e-05/0.1612, allocations: 97.84 kB / 0.5751 GB, free: 3.973 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.1612, allocations: 25.7 kB / 0.5751 GB, free: 3.941 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.1613, allocations: 84.14 kB / 0.5752 GB, free: 3.855 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.1613, allocations: 23.67 kB / 0.5752 GB, free: 3.832 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.1613, allocations: 25.62 kB / 0.5752 GB, free: 3.801 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1615, allocations: 318.8 kB / 0.5755 GB, free: 3.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.869e-05/0.1615, allocations: 8 kB / 0.5755 GB, free: 3.473 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.1e-05/0.1615, allocations: 12.06 kB / 0.5756 GB, free: 3.461 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.678e-05/0.1616, allocations: 32.78 kB / 0.5756 GB, free: 3.426 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1616, allocations: 4 kB / 0.5756 GB, free: 3.422 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.869e-05/0.1617, allocations: 53.64 kB / 0.5756 GB, free: 3.363 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.1617, allocations: 11.98 kB / 0.5757 GB, free: 3.352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.1617, allocations: 4 kB / 0.5757 GB, free: 3.348 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.1618, allocations: 0 / 0.5757 GB, free: 3.348 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.598e-05/0.1618, allocations: 8 kB / 0.5757 GB, free: 3.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1618, allocations: 0 / 0.5757 GB, free: 3.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.286e-05/0.1619, allocations: 0 / 0.5757 GB, free: 3.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.1619, allocations: 4 kB / 0.5757 GB, free: 3.336 MB / 446.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 (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 prepare postOptimizeDAE: time 9.325e-05/0.162, allocations: 113.8 kB / 0.5758 GB, free: 3.215 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.162, allocations: 4.516 kB / 0.5758 GB, free: 3.211 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.1622, allocations: 69.17 kB / 0.5759 GB, free: 3.129 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.1622, allocations: 8 kB / 0.5759 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.1622, allocations: 0 / 0.5759 GB, free: 3.121 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1622, allocations: 3.984 kB / 0.5759 GB, free: 3.117 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003403/0.1626, allocations: 307.4 kB / 0.5762 GB, free: 2.758 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1626, allocations: 4 kB / 0.5762 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.293e-05/0.1626, allocations: 8.312 kB / 0.5762 GB, free: 2.746 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1626, allocations: 0 / 0.5762 GB, free: 2.746 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.1627, allocations: 8 kB / 0.5762 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1627, allocations: 0 / 0.5762 GB, free: 2.738 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1627, allocations: 8.016 kB / 0.5762 GB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002047/0.1629, allocations: 176.2 kB / 0.5764 GB, free: 2.539 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.352e-05/0.163, allocations: 89.06 kB / 0.5764 GB, free: 2.434 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.163, allocations: 4 kB / 0.5764 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.114e-05/0.1631, allocations: 4 kB / 0.5764 GB, free: 2.426 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.907e-05/0.1631, allocations: 7.875 kB / 0.5765 GB, free: 2.418 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.1631, allocations: 8.062 kB / 0.5765 GB, free: 2.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.614e-05/0.1632, allocations: 79.27 kB / 0.5765 GB, free: 2.332 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.455e-06/0.1632, allocations: 0 / 0.5765 GB, free: 2.332 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000322/0.1635, allocations: 59.94 kB / 0.5766 GB, free: 2.273 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (pSatDer) * 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.0003251/0.1638, allocations: 167.1 kB / 0.5768 GB, free: 2.098 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001274/0.164, allocations: 31.92 kB / 0.5768 GB, free: 2.066 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.164, allocations: 0 / 0.5768 GB, free: 2.066 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.352e-05/0.164, allocations: 20 kB / 0.5768 GB, free: 2.047 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003317/0.1644, allocations: 11.98 kB / 0.5768 GB, free: 2.035 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004987/0.1649, allocations: 205.2 kB / 0.577 GB, free: 1.809 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004182/0.1653, allocations: 0.6807 MB / 0.5777 GB, free: 1.102 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.115e-05/0.1654, allocations: 7.984 kB / 0.5777 GB, free: 1.094 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.301e-05/0.1654, allocations: 11.44 kB / 0.5777 GB, free: 1.086 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1654, allocations: 0 / 0.5777 GB, free: 1.086 MB / 446.1 MB Notification: Performance of Templates: time 0.005392/0.1708, allocations: 1.636 MB / 0.5793 GB, free: 15.5 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)