Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.008258/0.008258, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001871/0.001872, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7902/0.7902, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 70.12 kB / 0.5813 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.193, allocations: 80.21 MB / 0.6597 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003169/0.1962, allocations: 1.48 MB / 0.6611 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001299/0.1975, allocations: 0.8146 MB / 0.6619 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.731e-05/0.1976, allocations: 0 / 0.6619 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.277e-05/0.1977, allocations: 7.922 kB / 0.6619 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.074e-05/0.1978, allocations: 15.86 kB / 0.6619 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005171/0.1983, allocations: 127.5 kB / 0.662 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.1984, allocations: 51.78 kB / 0.6621 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1986, allocations: 16 kB / 0.6621 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.49e-05/0.1986, allocations: 23.92 kB / 0.6621 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.894e-05/0.1987, allocations: 19.91 kB / 0.6621 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.1987, allocations: 7.938 kB / 0.6622 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004268/0.1991, allocations: 175.8 kB / 0.6623 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.1992, allocations: 7.938 kB / 0.6623 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.835e-05/0.1992, allocations: 23.86 kB / 0.6624 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.1995, allocations: 147.6 kB / 0.6625 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1995, allocations: 4 kB / 0.6625 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1995, allocations: 0 / 0.6625 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.1995, allocations: 0 / 0.6625 GB, free: 10.57 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.0007633/0.2003, allocations: 395.2 kB / 0.6629 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.2004, allocations: 12.03 kB / 0.6629 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.2004, allocations: 4.844 kB / 0.6629 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.2005, allocations: 172.3 kB / 0.6631 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.2006, allocations: 4.375 kB / 0.6631 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.2006, allocations: 8.375 kB / 0.6631 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002966/0.2009, allocations: 74.2 kB / 0.6631 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.2009, allocations: 192 / 0.6631 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.2009, allocations: 3.938 kB / 0.6631 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2009, allocations: 0 / 0.6631 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.2013, allocations: 75.86 kB / 0.6632 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.2017, allocations: 280.8 kB / 0.6635 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.202, allocations: 58.53 kB / 0.6635 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.2021, allocations: 36.92 kB / 0.6636 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/0.2023, allocations: 97.03 kB / 0.6637 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.2024, allocations: 38.5 kB / 0.6637 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.2024, allocations: 0 / 0.6637 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.000639/0.203, allocations: 133.5 kB / 0.6638 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.2031, allocations: 55.41 kB / 0.6639 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.2032, allocations: 117.8 kB / 0.664 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.2032, allocations: 25.7 kB / 0.664 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.2032, allocations: 92.12 kB / 0.6641 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.2033, allocations: 11.81 kB / 0.6641 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.2033, allocations: 13.72 kB / 0.6641 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.2035, allocations: 326.8 kB / 0.6644 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.2036, allocations: 31.97 kB / 0.6645 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.2038, allocations: 31.91 kB / 0.6645 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.2041, allocations: 72.72 kB / 0.6646 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2041, allocations: 4 kB / 0.6646 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003291/0.2044, allocations: 93.91 kB / 0.6647 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.2044, allocations: 7.984 kB / 0.6647 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2044, allocations: 48 / 0.6647 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.2045, allocations: 7.984 kB / 0.6647 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.2046, allocations: 11.98 kB / 0.6647 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.2046, allocations: 4 kB / 0.6647 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.112e-05/0.2047, allocations: 11.98 kB / 0.6647 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.2047, allocations: 0 / 0.6647 GB, free: 8.055 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 (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 8.459e-05/0.2048, allocations: 121.7 kB / 0.6648 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.2048, allocations: 7.906 kB / 0.6648 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003726/0.2052, allocations: 113.5 kB / 0.6649 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2052, allocations: 0 / 0.6649 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2052, allocations: 0 / 0.6649 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2052, allocations: 0 / 0.6649 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.2054, allocations: 173.5 kB / 0.6651 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2054, allocations: 0 / 0.6651 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.712e-05/0.2055, allocations: 19.97 kB / 0.6651 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2055, allocations: 0 / 0.6651 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.2055, allocations: 0 / 0.6651 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2055, allocations: 0 / 0.6651 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2055, allocations: 4 kB / 0.6651 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.206, allocations: 203.3 kB / 0.6653 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.453e-05/0.206, allocations: 81.09 kB / 0.6654 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.2061, allocations: 0 / 0.6654 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.2062, allocations: 15.98 kB / 0.6654 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.2062, allocations: 4 kB / 0.6654 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.2063, allocations: 3.984 kB / 0.6654 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.72e-05/0.2063, allocations: 98.17 kB / 0.6655 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2063, allocations: 0 / 0.6655 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002864/0.2066, allocations: 31.98 kB / 0.6655 GB, free: 7.086 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 (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.0002194/0.2068, allocations: 131.2 kB / 0.6657 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003508/0.2072, allocations: 75.86 kB / 0.6657 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2072, allocations: 0 / 0.6657 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.2074, allocations: 35.95 kB / 0.6658 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.2077, allocations: 21.8 kB / 0.6658 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.2081, allocations: 155 kB / 0.6659 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.2083, allocations: 0.6833 MB / 0.6666 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.682e-05/0.2084, allocations: 7.984 kB / 0.6666 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/0.2084, allocations: 11.44 kB / 0.6666 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.2084, allocations: 0 / 0.6666 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of Templates: time 0.004086/0.2125, allocations: 1.356 MB / 0.668 GB, free: 4.566 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)