Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008931/0.0008931, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.001041, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.321/1.321, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9707/0.9707, allocations: 135.3 MB / 427.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003226, allocations: 8 kB / 0.5082 GB, free: 4.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1519, allocations: 82.31 MB / 0.5886 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.001702/0.1537, allocations: 1.116 MB / 0.5897 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1548, allocations: 0.6063 MB / 0.5903 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.164e-05/0.1548, allocations: 0 / 0.5903 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.939e-05/0.1548, allocations: 7.922 kB / 0.5903 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.582e-05/0.1549, allocations: 3.938 kB / 0.5903 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.1553, allocations: 83.7 kB / 0.5904 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.932e-05/0.1554, allocations: 23.94 kB / 0.5904 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.237e-05/0.1554, allocations: 0 / 0.5904 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.043e-05/0.1555, allocations: 11.92 kB / 0.5904 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.75e-05/0.1555, allocations: 15.97 kB / 0.5904 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.1556, allocations: 0 / 0.5904 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.1558, allocations: 147.7 kB / 0.5906 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.011e-05/0.1559, allocations: 4 kB / 0.5906 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.492e-05/0.1559, allocations: 33.64 kB / 0.5906 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.1561, allocations: 76.12 kB / 0.5907 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1561, allocations: 0 / 0.5907 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1561, allocations: 0 / 0.5907 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.1561, allocations: 0 / 0.5907 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004336/0.1565, allocations: 359.4 kB / 0.591 GB, free: 104 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.1566, allocations: 12.03 kB / 0.591 GB, free: 92 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004385/0.157, allocations: 36.89 kB / 0.5911 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.1572, allocations: 168.3 kB / 0.5912 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1572, allocations: 384 / 0.5912 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.1572, allocations: 384 / 0.5912 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.1575, allocations: 74.2 kB / 0.5913 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.1575, allocations: 192 / 0.5913 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.1575, allocations: 3.938 kB / 0.5913 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1575, allocations: 0 / 0.5913 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.1578, allocations: 67.94 kB / 0.5914 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000464/0.1583, allocations: 276.8 kB / 0.5916 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.1585, allocations: 70.47 kB / 0.5917 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.1587, allocations: 36.89 kB / 0.5917 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.1587, allocations: 0 / 0.5917 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.1587, allocations: 34.56 kB / 0.5918 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.1587, allocations: 0 / 0.5918 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0005446/0.1593, allocations: 133.6 kB / 0.5919 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.1593, allocations: 51.41 kB / 0.592 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.802e-05/0.1594, allocations: 105.8 kB / 0.5921 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.1594, allocations: 25.7 kB / 0.5921 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.1595, allocations: 84.08 kB / 0.5922 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.1595, allocations: 3.906 kB / 0.5922 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.1596, allocations: 9.719 kB / 0.5922 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1597, allocations: 326.9 kB / 0.5925 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.1598, allocations: 27.97 kB / 0.5925 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.16, allocations: 27.98 kB / 0.5925 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.1603, allocations: 72.8 kB / 0.5926 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1603, allocations: 3.938 kB / 0.5926 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003235/0.1606, allocations: 105.5 kB / 0.5927 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1606, allocations: 10.33 kB / 0.5927 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1606, allocations: 0 / 0.5927 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1607, allocations: 4.031 kB / 0.5927 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.1608, allocations: 15.98 kB / 0.5927 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1608, allocations: 0 / 0.5927 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.1609, allocations: 11.98 kB / 0.5928 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1609, allocations: 4 kB / 0.5928 GB, free: 14.16 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 (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 0.0001029/0.1611, allocations: 113.8 kB / 0.5929 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.1611, allocations: 4 kB / 0.5929 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.978e-05/0.1611, allocations: 7.109 kB / 0.5929 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1611, allocations: 4.188 kB / 0.5929 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1612, allocations: 0 / 0.5929 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1612, allocations: 3.984 kB / 0.5929 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.1613, allocations: 169.6 kB / 0.593 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1613, allocations: 0 / 0.593 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.1615, allocations: 19.98 kB / 0.5931 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1615, allocations: 0 / 0.5931 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.1615, allocations: 3.984 kB / 0.5931 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1615, allocations: 0 / 0.5931 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1615, allocations: 4 kB / 0.5931 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/0.1619, allocations: 199.3 kB / 0.5933 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.1619, allocations: 81.11 kB / 0.5933 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.162, allocations: 3.984 kB / 0.5933 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.1621, allocations: 8 kB / 0.5934 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.1621, allocations: 8.016 kB / 0.5934 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.1622, allocations: 0 / 0.5934 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.21e-05/0.1622, allocations: 83.28 kB / 0.5934 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1622, allocations: 0 / 0.5934 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002491/0.1625, allocations: 12 kB / 0.5934 GB, free: 13.36 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.0001641/0.1626, allocations: 107.2 kB / 0.5936 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000328/0.163, allocations: 75.88 kB / 0.5936 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.163, allocations: 0 / 0.5936 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.1631, allocations: 43.95 kB / 0.5937 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.1634, allocations: 7.938 kB / 0.5937 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004483/0.1639, allocations: 166.3 kB / 0.5938 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.1641, allocations: 0.6771 MB / 0.5945 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.376e-05/0.1642, allocations: 11.42 kB / 0.5945 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1642, allocations: 7.938 kB / 0.5945 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.002305/0.1665, allocations: 0.8885 MB / 0.5954 GB, free: 11.32 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)