Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008916/0.0008915, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.000922/0.0009221, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.207/1.207, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8096/0.8096, allocations: 135.2 MB / 426.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002882/0.0002882, allocations: 8 kB / 0.5068 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1485, allocations: 82.32 MB / 0.5872 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001373/0.1499, allocations: 0.9745 MB / 0.5882 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.151, allocations: 0.7258 MB / 0.5889 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.733e-05/0.151, allocations: 3.938 kB / 0.5889 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.623e-05/0.1511, allocations: 0 / 0.5889 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.166e-05/0.1511, allocations: 11.98 kB / 0.5889 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.1516, allocations: 103.6 kB / 0.589 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.276e-05/0.1516, allocations: 23.95 kB / 0.589 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.1517, allocations: 0 / 0.589 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.432e-05/0.1517, allocations: 11.94 kB / 0.589 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.14e-05/0.1518, allocations: 15.98 kB / 0.589 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.1518, allocations: 0 / 0.589 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002913/0.1521, allocations: 171.8 kB / 0.5892 GB, free: 1.059 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.638e-05/0.1521, allocations: 15.92 kB / 0.5892 GB, free: 1.043 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.981e-05/0.1522, allocations: 25.7 kB / 0.5892 GB, free: 1.012 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.1523, allocations: 88.06 kB / 0.5893 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1523, allocations: 0 / 0.5893 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1524, allocations: 7.938 kB / 0.5893 GB, free: 0.918 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.1524, allocations: 0 / 0.5893 GB, free: 0.918 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.0004409/0.1528, allocations: 363.2 kB / 0.5897 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.1529, allocations: 8.031 kB / 0.5897 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.514e-05/0.1529, allocations: 4 kB / 0.5897 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.153, allocations: 163 kB / 0.5898 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.972e-05/0.1531, allocations: 29.7 kB / 0.5899 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.1531, allocations: 4 kB / 0.5899 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.1533, allocations: 49.61 kB / 0.5899 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1533, allocations: 0 / 0.5899 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1533, allocations: 4 kB / 0.5899 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1534, allocations: 0 / 0.5899 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.115e-05/0.1535, allocations: 15.98 kB / 0.5899 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002048/0.1537, allocations: 161.7 kB / 0.5901 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.1539, allocations: 42.56 kB / 0.5901 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003174/0.1542, allocations: 190.3 kB / 0.5903 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.1543, allocations: 30.56 kB / 0.5903 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.1543, allocations: 0 / 0.5903 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002734/0.1545, allocations: 69.61 kB / 0.5904 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.1546, allocations: 51.41 kB / 0.5905 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.726e-05/0.1547, allocations: 93.86 kB / 0.5905 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1547, allocations: 25.7 kB / 0.5906 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.1547, allocations: 96.06 kB / 0.5907 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.1548, allocations: 11.81 kB / 0.5907 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-06/0.1548, allocations: 0 / 0.5907 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.1549, allocations: 314.8 kB / 0.591 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.678e-05/0.155, allocations: 11.98 kB / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.481e-05/0.155, allocations: 8 kB / 0.591 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.69e-05/0.1551, allocations: 11.98 kB / 0.591 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1551, allocations: 0 / 0.591 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001398/0.1552, allocations: 65.62 kB / 0.5911 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1552, allocations: 4 kB / 0.5911 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1553, allocations: 0 / 0.5911 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1553, allocations: 0 / 0.5911 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.627e-05/0.1553, allocations: 15.98 kB / 0.5911 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.1554, allocations: 0 / 0.5911 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.292e-05/0.1554, allocations: 11.84 kB / 0.5911 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.1554, allocations: 0 / 0.5911 GB, free: 14.84 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.085e-05/0.1555, allocations: 113.8 kB / 0.5912 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.688e-06/0.1555, allocations: 4 kB / 0.5912 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.1557, allocations: 69.11 kB / 0.5913 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1557, allocations: 0 / 0.5913 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1557, allocations: 7.938 kB / 0.5913 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1557, allocations: 0 / 0.5913 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.1558, allocations: 157.6 kB / 0.5914 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1559, allocations: 0 / 0.5914 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.579e-05/0.1559, allocations: 11.98 kB / 0.5914 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1559, allocations: 0 / 0.5914 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.1559, allocations: 4 kB / 0.5914 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1559, allocations: 0 / 0.5914 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1559, allocations: 0 / 0.5914 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001474/0.1561, allocations: 85.61 kB / 0.5915 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.864e-05/0.1562, allocations: 88.97 kB / 0.5916 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.1562, allocations: 0 / 0.5916 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.827e-05/0.1562, allocations: 3.984 kB / 0.5916 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.1563, allocations: 12 kB / 0.5916 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.1563, allocations: 0 / 0.5916 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.737e-05/0.1564, allocations: 83.31 kB / 0.5917 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1564, allocations: 3.938 kB / 0.5917 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002247/0.1566, allocations: 35.92 kB / 0.5917 GB, free: 14.07 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000239/0.1568, allocations: 139.2 kB / 0.5919 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.157, allocations: 23.98 kB / 0.5919 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.157, allocations: 4 kB / 0.5919 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.617e-05/0.1571, allocations: 19.92 kB / 0.5919 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.1573, allocations: 4 kB / 0.5919 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.1576, allocations: 138.8 kB / 0.5921 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002199/0.1578, allocations: 0.677 MB / 0.5927 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.222e-05/0.1578, allocations: 8 kB / 0.5927 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.718e-05/0.1579, allocations: 7.438 kB / 0.5927 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1579, allocations: 0 / 0.5927 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of Templates: time 0.003274/0.1612, allocations: 1.007 MB / 0.5937 GB, free: 12 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) Environment - environmentSimulation: