Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.002049/0.002049, allocations: 196 kB / 16.26 MB, free: 6.625 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.408/1.408, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.038/1.038, allocations: 135.2 MB / 425.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 64.84 kB / 0.5049 GB, free: 5.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.151, allocations: 80.94 MB / 0.5839 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002477/0.1535, allocations: 1.335 MB / 0.5852 GB, free: 3.512 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009023/0.1544, allocations: 0.5672 MB / 0.5858 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.675e-05/0.1545, allocations: 0 / 0.5858 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.991e-05/0.1545, allocations: 0 / 0.5858 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.718e-05/0.1546, allocations: 11.92 kB / 0.5858 GB, free: 2.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.155, allocations: 83.7 kB / 0.5859 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.78e-05/0.1551, allocations: 19.88 kB / 0.5859 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.1551, allocations: 7.938 kB / 0.5859 GB, free: 2.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.548e-05/0.1552, allocations: 11.92 kB / 0.5859 GB, free: 2.809 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.676e-05/0.1552, allocations: 3.938 kB / 0.5859 GB, free: 2.805 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.1552, allocations: 4 kB / 0.5859 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002666/0.1555, allocations: 147.8 kB / 0.5861 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.1555, allocations: 0 / 0.5861 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/0.1555, allocations: 7.938 kB / 0.5861 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.1558, allocations: 100 kB / 0.5862 GB, free: 2.551 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1558, allocations: 0 / 0.5862 GB, free: 2.551 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1558, allocations: 4 kB / 0.5862 GB, free: 2.547 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.1558, allocations: 0 / 0.5862 GB, free: 2.547 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004378/0.1562, allocations: 351.4 kB / 0.5865 GB, free: 2.152 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.1563, allocations: 8.031 kB / 0.5865 GB, free: 2.145 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004439/0.1567, allocations: 24.91 kB / 0.5866 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.1569, allocations: 164.4 kB / 0.5867 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.1569, allocations: 4.375 kB / 0.5867 GB, free: 1.918 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.1569, allocations: 4.375 kB / 0.5867 GB, free: 1.914 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.157, allocations: 46.23 kB / 0.5868 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.1571, allocations: 4.125 kB / 0.5868 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1571, allocations: 3.938 kB / 0.5868 GB, free: 1.855 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1571, allocations: 3.984 kB / 0.5868 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.1572, allocations: 27.97 kB / 0.5868 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.1574, allocations: 153.7 kB / 0.5869 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001475/0.1576, allocations: 42.58 kB / 0.587 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.238e-05/0.1576, allocations: 20.91 kB / 0.587 GB, free: 1.551 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.1577, allocations: 0 / 0.587 GB, free: 1.551 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.1577, allocations: 38.56 kB / 0.587 GB, free: 1.504 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.444e-06/0.1577, allocations: 0 / 0.587 GB, free: 1.504 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003211/0.158, allocations: 73.53 kB / 0.5871 GB, free: 1.426 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.1581, allocations: 55.41 kB / 0.5872 GB, free: 1.359 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.929e-05/0.1581, allocations: 93.98 kB / 0.5873 GB, free: 1.258 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.1582, allocations: 33.7 kB / 0.5873 GB, free: 1.219 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.1582, allocations: 80.14 kB / 0.5874 GB, free: 1.137 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.1583, allocations: 3.906 kB / 0.5874 GB, free: 1.133 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.1583, allocations: 21.7 kB / 0.5874 GB, free: 1.105 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1584, allocations: 310.8 kB / 0.5877 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.364e-05/0.1585, allocations: 7.984 kB / 0.5877 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.579e-05/0.1586, allocations: 19.98 kB / 0.5877 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.1587, allocations: 28.78 kB / 0.5877 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1587, allocations: 4 kB / 0.5877 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001709/0.1589, allocations: 57.67 kB / 0.5878 GB, free: 0.668 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.1589, allocations: 6.5 kB / 0.5878 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.1589, allocations: 15.95 kB / 0.5878 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.159, allocations: 0 / 0.5878 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.1591, allocations: 11.94 kB / 0.5878 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1591, allocations: 0 / 0.5878 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.691e-05/0.1592, allocations: 7.891 kB / 0.5878 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1592, allocations: 4 kB / 0.5878 GB, free: 0.625 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 (2): * Single equations (assignments): 2 * 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.942e-05/0.1593, allocations: 109.8 kB / 0.5879 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.1593, allocations: 0 / 0.5879 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.667e-05/0.1593, allocations: 19.06 kB / 0.588 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1593, allocations: 0 / 0.588 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.1594, allocations: 4 kB / 0.588 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1594, allocations: 3.984 kB / 0.588 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.1595, allocations: 157.5 kB / 0.5881 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1595, allocations: 3.938 kB / 0.5881 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.054e-05/0.1596, allocations: 7.984 kB / 0.5881 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1596, allocations: 0 / 0.5881 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.1596, allocations: 11.94 kB / 0.5881 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1596, allocations: 0 / 0.5881 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1596, allocations: 0 / 0.5881 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001914/0.1598, allocations: 81.11 kB / 0.5882 GB, free: 160 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.1599, allocations: 81.09 kB / 0.5883 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.1599, allocations: 3.938 kB / 0.5883 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.41e-05/0.16, allocations: 8.031 kB / 0.5883 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.16, allocations: 3.984 kB / 0.5883 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.16, allocations: 0 / 0.5883 GB, free: 44 kB / 494.1 MB Notification: Performance of sorting global known variables: time 4.821e-05/0.1601, allocations: 79.28 kB / 0.5884 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1601, allocations: 0 / 0.5884 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002129/0.1603, allocations: 16 kB / 0.5884 GB, free: 15.95 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0001796/0.1605, allocations: 111.2 kB / 0.5885 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001794/0.1607, allocations: 31.97 kB / 0.5885 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.1607, allocations: 4 kB / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.276e-05/0.1608, allocations: 15.98 kB / 0.5886 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.161, allocations: 6.672 kB / 0.5886 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.1614, allocations: 130.5 kB / 0.5887 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000202/0.1616, allocations: 0.6768 MB / 0.5894 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.673e-05/0.1617, allocations: 15.92 kB / 0.5894 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.284e-05/0.1617, allocations: 11.44 kB / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1617, allocations: 0 / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of Templates: time 0.002858/0.1646, allocations: 0.7274 MB / 0.5901 GB, free: 14.18 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)