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.001443/0.001443, allocations: 100.1 kB / 15.88 MB, free: 12 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.001686/0.001686, allocations: 196 kB / 16.79 MB, free: 6.809 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.32/1.32, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8986/0.8986, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 61.34 kB / 0.5053 GB, free: 5.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1479, allocations: 80.92 MB / 0.5843 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.00237/0.1503, allocations: 1.344 MB / 0.5857 GB, free: 3.656 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009272/0.1513, allocations: 0.5789 MB / 0.5862 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.368e-05/0.1513, allocations: 0 / 0.5862 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.016e-05/0.1513, allocations: 7.984 kB / 0.5862 GB, free: 3.066 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.591e-05/0.1514, allocations: 11.92 kB / 0.5862 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.1517, allocations: 75.7 kB / 0.5863 GB, free: 2.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.457e-05/0.1517, allocations: 19.88 kB / 0.5863 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.1518, allocations: 0 / 0.5863 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.054e-05/0.1518, allocations: 4 kB / 0.5863 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.164e-05/0.1519, allocations: 7.938 kB / 0.5863 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.002e-05/0.1519, allocations: 0 / 0.5863 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002771/0.1522, allocations: 159.7 kB / 0.5865 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.067e-06/0.1522, allocations: 0 / 0.5865 GB, free: 2.793 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.1522, allocations: 7.938 kB / 0.5865 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.1523, allocations: 60.16 kB / 0.5866 GB, free: 2.727 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1524, allocations: 4 kB / 0.5866 GB, free: 2.723 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1524, allocations: 0 / 0.5866 GB, free: 2.723 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.1524, allocations: 0 / 0.5866 GB, free: 2.723 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.0003655/0.1527, allocations: 351.4 kB / 0.5869 GB, free: 2.328 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1528, allocations: 8.031 kB / 0.5869 GB, free: 2.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004333/0.1532, allocations: 28.91 kB / 0.5869 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.1534, allocations: 164.4 kB / 0.5871 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.1534, allocations: 384 / 0.5871 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.1534, allocations: 384 / 0.5871 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.1536, allocations: 54.16 kB / 0.5871 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.1536, allocations: 192 / 0.5871 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.1536, allocations: 3.938 kB / 0.5871 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1536, allocations: 7.938 kB / 0.5872 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.1537, allocations: 27.95 kB / 0.5872 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.1539, allocations: 157.7 kB / 0.5873 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.1541, allocations: 38.59 kB / 0.5874 GB, free: 1.746 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.424e-05/0.1542, allocations: 24.91 kB / 0.5874 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.1542, allocations: 3.984 kB / 0.5874 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.1542, allocations: 42.42 kB / 0.5874 GB, free: 1.664 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.1542, allocations: 0 / 0.5874 GB, free: 1.664 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003111/0.1545, allocations: 73.7 kB / 0.5875 GB, free: 1.586 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.1546, allocations: 51.41 kB / 0.5876 GB, free: 1.523 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.633e-05/0.1547, allocations: 101.8 kB / 0.5877 GB, free: 1.414 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.1547, allocations: 25.7 kB / 0.5877 GB, free: 1.383 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.8e-05/0.1547, allocations: 80.14 kB / 0.5878 GB, free: 1.301 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.1547, allocations: 3.906 kB / 0.5878 GB, free: 1.297 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.1548, allocations: 21.7 kB / 0.5878 GB, free: 1.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1549, allocations: 310.8 kB / 0.5881 GB, free: 0.957 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.903e-05/0.155, allocations: 20.02 kB / 0.5881 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.453e-05/0.1551, allocations: 19.92 kB / 0.5881 GB, free: 0.918 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.1552, allocations: 24.84 kB / 0.5881 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1552, allocations: 0 / 0.5881 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000173/0.1554, allocations: 61.73 kB / 0.5882 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1554, allocations: 8 kB / 0.5882 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1554, allocations: 3.938 kB / 0.5882 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1554, allocations: 0 / 0.5882 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.1555, allocations: 7.984 kB / 0.5882 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1556, allocations: 0 / 0.5882 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.679e-05/0.1556, allocations: 7.906 kB / 0.5882 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.1556, allocations: 4.016 kB / 0.5882 GB, free: 0.793 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 6.942e-05/0.1557, allocations: 113.8 kB / 0.5883 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.1557, allocations: 7.938 kB / 0.5883 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.976e-05/0.1558, allocations: 11.06 kB / 0.5884 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1558, allocations: 0 / 0.5884 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1558, allocations: 0 / 0.5884 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.1558, allocations: 0 / 0.5884 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.1559, allocations: 153.7 kB / 0.5885 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1559, allocations: 4 kB / 0.5885 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.073e-05/0.156, allocations: 11.98 kB / 0.5885 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.156, allocations: 0 / 0.5885 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.156, allocations: 7.922 kB / 0.5885 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.156, allocations: 0 / 0.5885 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.156, allocations: 0 / 0.5885 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.1562, allocations: 93.08 kB / 0.5886 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.1563, allocations: 85.03 kB / 0.5887 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.1563, allocations: 7.938 kB / 0.5887 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.269e-05/0.1564, allocations: 0 / 0.5887 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.09e-05/0.1564, allocations: 0 / 0.5887 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.1564, allocations: 7.984 kB / 0.5887 GB, free: 208 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.133e-05/0.1565, allocations: 79.22 kB / 0.5888 GB, free: 128 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1565, allocations: 0 / 0.5888 GB, free: 128 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002036/0.1567, allocations: 16 kB / 0.5888 GB, free: 112 kB / 494.1 MB 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.0001818/0.1569, allocations: 116.2 kB / 0.5889 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001711/0.1571, allocations: 27.92 kB / 0.5889 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1571, allocations: 0 / 0.5889 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.548e-05/0.1571, allocations: 15.98 kB / 0.589 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.1574, allocations: 8.125 kB / 0.589 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000356/0.1577, allocations: 150 kB / 0.5891 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.158, allocations: 0.677 MB / 0.5898 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.158, allocations: 7.438 kB / 0.5898 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.158, allocations: 0 / 0.5898 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of Templates: time 0.001984/0.16, allocations: 0.7851 MB / 0.5905 GB, free: 14.27 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)