Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007023/0.007023, allocations: 102 kB / 15.73 MB, free: 6.043 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.001132/0.001132, allocations: 195 kB / 16.67 MB, free: 5.965 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8174/0.8174, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 66.91 kB / 0.5856 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.187, allocations: 80.91 MB / 0.6646 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002706/0.1898, allocations: 1.498 MB / 0.6661 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.191, allocations: 0.8031 MB / 0.6669 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.343e-05/0.1911, allocations: 0 / 0.6669 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.142e-05/0.1911, allocations: 3.938 kB / 0.6669 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.932e-05/0.1912, allocations: 11.88 kB / 0.6669 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.1917, allocations: 131.4 kB / 0.667 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.786e-05/0.1918, allocations: 59.77 kB / 0.6671 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.1919, allocations: 8 kB / 0.6671 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.108e-05/0.1919, allocations: 23.92 kB / 0.6671 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.714e-05/0.192, allocations: 23.91 kB / 0.6671 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.192, allocations: 4 kB / 0.6671 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003284/0.1923, allocations: 167.8 kB / 0.6673 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.1924, allocations: 19.94 kB / 0.6673 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.08e-05/0.1924, allocations: 19.86 kB / 0.6673 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.1927, allocations: 151.6 kB / 0.6675 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1927, allocations: 0 / 0.6675 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1927, allocations: 0 / 0.6675 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.1927, allocations: 0 / 0.6675 GB, free: 2.887 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005779/0.1933, allocations: 399.2 kB / 0.6678 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1933, allocations: 9.109 kB / 0.6678 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.1934, allocations: 12.84 kB / 0.6679 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.1935, allocations: 176.2 kB / 0.668 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1935, allocations: 384 / 0.668 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.1936, allocations: 12.31 kB / 0.668 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.1938, allocations: 70.22 kB / 0.6681 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1939, allocations: 192 / 0.6681 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.1939, allocations: 7.922 kB / 0.6681 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1939, allocations: 0 / 0.6681 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.1942, allocations: 67.92 kB / 0.6682 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.1946, allocations: 288.8 kB / 0.6685 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.1948, allocations: 62.47 kB / 0.6685 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001588/0.195, allocations: 36.92 kB / 0.6686 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000188/0.1952, allocations: 89.09 kB / 0.6686 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.1952, allocations: 38.55 kB / 0.6687 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1952, allocations: 0 / 0.6687 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005737/0.1958, allocations: 133.4 kB / 0.6688 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.1958, allocations: 51.41 kB / 0.6688 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.893e-05/0.196, allocations: 125.8 kB / 0.669 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.196, allocations: 25.7 kB / 0.669 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/0.196, allocations: 88.14 kB / 0.6691 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.1961, allocations: 15.81 kB / 0.6691 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.1961, allocations: 13.72 kB / 0.6691 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.1962, allocations: 322.8 kB / 0.6694 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.1964, allocations: 27.97 kB / 0.6694 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.1965, allocations: 35.89 kB / 0.6695 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.1968, allocations: 72.78 kB / 0.6695 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1968, allocations: 4 kB / 0.6695 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003122/0.1971, allocations: 97.56 kB / 0.6696 GB, free: 416 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.1972, allocations: 4 kB / 0.6696 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1972, allocations: 0 / 0.6696 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1972, allocations: 4 kB / 0.6696 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.1973, allocations: 15.98 kB / 0.6697 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1973, allocations: 0 / 0.6697 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.86e-05/0.1974, allocations: 11.98 kB / 0.6697 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-06/0.1974, allocations: 3.984 kB / 0.6697 GB, free: 376 kB / 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 (3): * Single equations (assignments): 3 * 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.47e-05/0.1975, allocations: 117.8 kB / 0.6698 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.1976, allocations: 3.906 kB / 0.6698 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000369/0.1979, allocations: 113.5 kB / 0.6699 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1979, allocations: 0 / 0.6699 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1979, allocations: 0 / 0.6699 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.198, allocations: 4 kB / 0.6699 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.1982, allocations: 181.5 kB / 0.6701 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1982, allocations: 0 / 0.6701 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.575e-05/0.1983, allocations: 19.98 kB / 0.6701 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1983, allocations: 0 / 0.6701 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-06/0.1983, allocations: 0 / 0.6701 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1983, allocations: 4 kB / 0.6701 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1983, allocations: 0 / 0.6701 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.1987, allocations: 203.7 kB / 0.6703 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.1987, allocations: 81.11 kB / 0.6704 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.1988, allocations: 4 kB / 0.6704 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.1989, allocations: 11.98 kB / 0.6704 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.1989, allocations: 3.984 kB / 0.6704 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.1989, allocations: 0 / 0.6704 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.73e-05/0.199, allocations: 99.2 kB / 0.6705 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.199, allocations: 0 / 0.6705 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000281/0.1993, allocations: 32 kB / 0.6705 GB, free: 15.4 MB / 0.5137 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 (3): * Single equations (assignments): 3 * 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.0002152/0.1995, allocations: 140.5 kB / 0.6707 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003606/0.1999, allocations: 63.92 kB / 0.6707 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1999, allocations: 0 / 0.6707 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.2, allocations: 39.97 kB / 0.6708 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.2004, allocations: 17.64 kB / 0.6708 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.2007, allocations: 153.8 kB / 0.6709 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.201, allocations: 0.6846 MB / 0.6716 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.602e-05/0.201, allocations: 8 kB / 0.6716 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.2011, allocations: 11.44 kB / 0.6716 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.2011, allocations: 0 / 0.6716 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of Templates: time 0.00368/0.2048, allocations: 1.359 MB / 0.6729 GB, free: 12.89 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)