Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.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.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007206/0.007206, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001671/0.001671, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7894/0.7894, allocations: 132.2 MB / 422.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001269, allocations: 74.92 kB / 0.5814 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1919, allocations: 80.2 MB / 0.6597 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002247/0.1941, allocations: 1.254 MB / 0.6609 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000588/0.1948, allocations: 305.7 kB / 0.6612 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.582e-05/0.1948, allocations: 4 kB / 0.6612 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.1948, allocations: 0 / 0.6612 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.238e-05/0.1949, allocations: 7.938 kB / 0.6612 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.1952, allocations: 49.94 kB / 0.6612 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.497e-05/0.1953, allocations: 15.92 kB / 0.6613 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.075e-05/0.1954, allocations: 7.984 kB / 0.6613 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.55e-05/0.1954, allocations: 7.938 kB / 0.6613 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.351e-05/0.1955, allocations: 4 kB / 0.6613 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.1955, allocations: 8 kB / 0.6613 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.1956, allocations: 55.95 kB / 0.6613 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.1957, allocations: 3.984 kB / 0.6613 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.806e-05/0.1957, allocations: 7.938 kB / 0.6614 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.1958, allocations: 55.83 kB / 0.6614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1959, allocations: 0 / 0.6614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.725e-06/0.1959, allocations: 0 / 0.6614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.1959, allocations: 0 / 0.6614 GB, free: 11.73 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004572/0.1963, allocations: 331.5 kB / 0.6617 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.1964, allocations: 12.03 kB / 0.6617 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002379/0.1966, allocations: 20.91 kB / 0.6618 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.1968, allocations: 168.3 kB / 0.6619 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1968, allocations: 384 / 0.6619 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.1968, allocations: 384 / 0.6619 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.1969, allocations: 42.25 kB / 0.662 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.1969, allocations: 192 / 0.662 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.197, allocations: 3.938 kB / 0.662 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.197, allocations: 0 / 0.662 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.38e-05/0.197, allocations: 19.98 kB / 0.662 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.1972, allocations: 161.7 kB / 0.6621 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/0.1992, allocations: 266.3 kB / 0.6624 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.484e-05/0.1992, allocations: 20.86 kB / 0.6624 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.1993, allocations: 4 kB / 0.6624 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.1993, allocations: 30.56 kB / 0.6624 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.1993, allocations: 0 / 0.6624 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001834/0.1995, allocations: 73.52 kB / 0.6625 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.1995, allocations: 55.34 kB / 0.6626 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.994e-05/0.1996, allocations: 93.86 kB / 0.6627 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1996, allocations: 29.7 kB / 0.6627 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.094e-05/0.1997, allocations: 80.14 kB / 0.6628 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.1997, allocations: 3.906 kB / 0.6628 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.1998, allocations: 17.72 kB / 0.6628 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1999, allocations: 318.8 kB / 0.6631 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.262e-05/0.1999, allocations: 8 kB / 0.6631 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.687e-05/0.1999, allocations: 12.19 kB / 0.6631 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.399e-05/0.2, allocations: 36.98 kB / 0.6631 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2, allocations: 0 / 0.6631 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.496e-05/0.2001, allocations: 53.7 kB / 0.6632 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.2001, allocations: 11.94 kB / 0.6632 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.2001, allocations: 3.938 kB / 0.6632 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.2002, allocations: 0 / 0.6632 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.139e-05/0.2002, allocations: 7.984 kB / 0.6632 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.2002, allocations: 0 / 0.6632 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.29e-05/0.2003, allocations: 3.906 kB / 0.6632 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.2003, allocations: 4 kB / 0.6632 GB, free: 9.652 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.085e-05/0.2004, allocations: 118.4 kB / 0.6633 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.448e-06/0.2004, allocations: 0 / 0.6633 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.531e-05/0.2004, allocations: 15.44 kB / 0.6633 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2004, allocations: 0 / 0.6633 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.2004, allocations: 0 / 0.6633 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.2005, allocations: 0 / 0.6633 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.2006, allocations: 157.7 kB / 0.6635 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2006, allocations: 0 / 0.6635 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.225e-05/0.2006, allocations: 11.98 kB / 0.6635 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2006, allocations: 0 / 0.6635 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.2007, allocations: 7.938 kB / 0.6635 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2007, allocations: 0 / 0.6635 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2007, allocations: 0 / 0.6635 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.2008, allocations: 81.06 kB / 0.6636 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.156e-05/0.2009, allocations: 81.11 kB / 0.6637 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.2009, allocations: 3.938 kB / 0.6637 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.453e-05/0.2009, allocations: 3.984 kB / 0.6637 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.201, allocations: 4 kB / 0.6637 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.201, allocations: 4 kB / 0.6637 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.273e-05/0.201, allocations: 75.28 kB / 0.6638 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.201, allocations: 0 / 0.6638 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001991/0.2012, allocations: 12 kB / 0.6638 GB, free: 8.984 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 (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.0001288/0.2014, allocations: 95.25 kB / 0.6639 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.2015, allocations: 23.92 kB / 0.6639 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2015, allocations: 3.938 kB / 0.6639 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.817e-05/0.2015, allocations: 16.09 kB / 0.6639 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002514/0.2018, allocations: 22.58 kB / 0.6639 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.2021, allocations: 126.5 kB / 0.664 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.2024, allocations: 0.6729 MB / 0.6647 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.451e-05/0.2024, allocations: 7.984 kB / 0.6647 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.2024, allocations: 11.44 kB / 0.6647 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.2024, allocations: 0 / 0.6647 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of Templates: time 0.002473/0.2049, allocations: 0.5183 MB / 0.6652 GB, free: 7.438 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)