Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0009507/0.0009507, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00715/0.00715, allocations: 170 kB / 16.26 MB, free: 6.613 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.449/1.449, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.045/1.045, allocations: 135.3 MB / 426.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.000327, allocations: 12.62 kB / 0.5076 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1597, allocations: 82.31 MB / 0.588 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.0014/0.1611, allocations: 1.002 MB / 0.589 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.1623, allocations: 0.6491 MB / 0.5896 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.666e-05/0.1624, allocations: 0 / 0.5896 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.1624, allocations: 0 / 0.5896 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.007e-05/0.1624, allocations: 7.938 kB / 0.5896 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004163/0.1629, allocations: 91.69 kB / 0.5897 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.784e-05/0.1629, allocations: 23.86 kB / 0.5897 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.163, allocations: 8 kB / 0.5897 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.199e-05/0.163, allocations: 4 kB / 0.5897 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.761e-05/0.1631, allocations: 15.91 kB / 0.5897 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.1631, allocations: 4 kB / 0.5897 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002795/0.1634, allocations: 143.7 kB / 0.5899 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.1634, allocations: 11.97 kB / 0.5899 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.1634, allocations: 37.64 kB / 0.5899 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.1637, allocations: 100 kB / 0.59 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1637, allocations: 0 / 0.59 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1637, allocations: 3.938 kB / 0.59 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1637, allocations: 0 / 0.59 GB, free: 0.5039 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.0004205/0.1641, allocations: 353.6 kB / 0.5904 GB, free: 112 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1642, allocations: 8.031 kB / 0.5904 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004101/0.1646, allocations: 32.81 kB / 0.5904 GB, free: 72 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.1647, allocations: 172.3 kB / 0.5906 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.1647, allocations: 384 / 0.5906 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.1648, allocations: 384 / 0.5906 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.1649, allocations: 58.22 kB / 0.5906 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.165, allocations: 4.172 kB / 0.5906 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.165, allocations: 11.94 kB / 0.5906 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.165, allocations: 0 / 0.5906 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.1651, allocations: 27.97 kB / 0.5907 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001684/0.1653, allocations: 165.7 kB / 0.5908 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.1656, allocations: 66.52 kB / 0.5909 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.126e-05/0.1657, allocations: 32.92 kB / 0.5909 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.1657, allocations: 0 / 0.5909 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.1657, allocations: 38.56 kB / 0.591 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1658, allocations: 0 / 0.591 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.003324/0.1691, allocations: 0.572 MB / 0.5915 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.1691, allocations: 51.41 kB / 0.5916 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.69e-05/0.1692, allocations: 97.84 kB / 0.5917 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.1692, allocations: 29.7 kB / 0.5917 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.623e-05/0.1693, allocations: 84.08 kB / 0.5918 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.1693, allocations: 19.84 kB / 0.5918 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.1693, allocations: 21.66 kB / 0.5918 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.1694, allocations: 314.8 kB / 0.5921 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.1696, allocations: 35.97 kB / 0.5921 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.1697, allocations: 35.97 kB / 0.5922 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.17, allocations: 84.81 kB / 0.5923 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.17, allocations: 3.938 kB / 0.5923 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003463/0.1704, allocations: 121.6 kB / 0.5924 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.1704, allocations: 11.94 kB / 0.5924 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1704, allocations: 0 / 0.5924 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.1704, allocations: 0 / 0.5924 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.1706, allocations: 27.91 kB / 0.5924 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1706, allocations: 240 / 0.5924 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.1708, allocations: 7.984 kB / 0.5924 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.1708, allocations: 4 kB / 0.5924 GB, free: 13.78 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.0001131/0.1709, allocations: 113.8 kB / 0.5925 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.171, allocations: 11.84 kB / 0.5925 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.562e-05/0.171, allocations: 15.94 kB / 0.5926 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1711, allocations: 0 / 0.5926 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.1711, allocations: 0 / 0.5926 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1711, allocations: 8 kB / 0.5926 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.1713, allocations: 179.7 kB / 0.5927 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1713, allocations: 0 / 0.5927 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/0.1715, allocations: 23.97 kB / 0.5928 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1715, allocations: 3.938 kB / 0.5928 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.1715, allocations: 0 / 0.5928 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1716, allocations: 4 kB / 0.5928 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1716, allocations: 3.984 kB / 0.5928 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005323/0.1721, allocations: 189 kB / 0.593 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.1722, allocations: 85.41 kB / 0.593 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.1722, allocations: 8.031 kB / 0.593 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.1724, allocations: 16.05 kB / 0.5931 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.932e-05/0.1724, allocations: 4 kB / 0.5931 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.1724, allocations: 11.91 kB / 0.5931 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.014e-05/0.1725, allocations: 79.28 kB / 0.5931 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.61e-07/0.1725, allocations: 0 / 0.5931 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000245/0.1727, allocations: 31.94 kB / 0.5932 GB, free: 12.9 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.000235/0.173, allocations: 137.8 kB / 0.5933 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003278/0.1733, allocations: 87.86 kB / 0.5934 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1733, allocations: 0 / 0.5934 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.1735, allocations: 39.97 kB / 0.5934 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.1737, allocations: 19.64 kB / 0.5934 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006363/0.1744, allocations: 174.8 kB / 0.5936 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.1746, allocations: 0.677 MB / 0.5943 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002123/0.1748, allocations: 31.92 kB / 0.5943 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.286e-05/0.1749, allocations: 15.42 kB / 0.5943 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.1749, allocations: 0 / 0.5943 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of Templates: time 0.003822/0.1787, allocations: 1.448 MB / 0.5957 GB, free: 10.28 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)