Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001624/0.001624, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001172/0.001172, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.432/1.432, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9995/0.9995, allocations: 135.1 MB / 425.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 71.86 kB / 0.5049 GB, free: 5.645 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1871, allocations: 80.92 MB / 0.5839 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.00285/0.19, allocations: 1.317 MB / 0.5852 GB, free: 3.559 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006347/0.1906, allocations: 300.7 kB / 0.5855 GB, free: 3.266 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.089e-05/0.1907, allocations: 0 / 0.5855 GB, free: 3.266 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.196e-05/0.1907, allocations: 0 / 0.5855 GB, free: 3.266 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.947e-05/0.1908, allocations: 3.938 kB / 0.5855 GB, free: 3.262 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.1911, allocations: 47.81 kB / 0.5855 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.18e-05/0.1912, allocations: 15.92 kB / 0.5855 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.1912, allocations: 0 / 0.5855 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.102e-05/0.1913, allocations: 15.94 kB / 0.5855 GB, free: 3.184 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.632e-05/0.1913, allocations: 4 kB / 0.5855 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.1914, allocations: 0 / 0.5855 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001379/0.1915, allocations: 67.88 kB / 0.5856 GB, free: 3.113 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.186e-05/0.1915, allocations: 3.984 kB / 0.5856 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.1916, allocations: 11.94 kB / 0.5856 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.1917, allocations: 48.17 kB / 0.5857 GB, free: 3.051 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1917, allocations: 0 / 0.5857 GB, free: 3.051 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1917, allocations: 0 / 0.5857 GB, free: 3.051 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1917, allocations: 0 / 0.5857 GB, free: 3.051 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.0003849/0.1921, allocations: 331.6 kB / 0.586 GB, free: 2.676 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1922, allocations: 15.95 kB / 0.586 GB, free: 2.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002325/0.1924, allocations: 20.83 kB / 0.586 GB, free: 2.641 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.1925, allocations: 164.3 kB / 0.5862 GB, free: 2.441 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1925, allocations: 384 / 0.5862 GB, free: 2.441 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.1926, allocations: 4.375 kB / 0.5862 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.1927, allocations: 42.25 kB / 0.5862 GB, free: 2.391 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-06/0.1927, allocations: 192 / 0.5862 GB, free: 2.391 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.1927, allocations: 7.938 kB / 0.5862 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1927, allocations: 4 kB / 0.5862 GB, free: 2.379 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.354e-05/0.1928, allocations: 19.92 kB / 0.5863 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.1929, allocations: 153.7 kB / 0.5864 GB, free: 2.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.1949, allocations: 270.5 kB / 0.5867 GB, free: 1.887 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.693e-05/0.195, allocations: 20.84 kB / 0.5867 GB, free: 1.863 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.195, allocations: 3.938 kB / 0.5867 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.1951, allocations: 34.56 kB / 0.5867 GB, free: 1.816 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.1951, allocations: 0 / 0.5867 GB, free: 1.816 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001952/0.1953, allocations: 65.56 kB / 0.5868 GB, free: 1.746 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.1953, allocations: 59.41 kB / 0.5868 GB, free: 1.676 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.584e-05/0.1954, allocations: 89.86 kB / 0.5869 GB, free: 1.578 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.1954, allocations: 25.7 kB / 0.5869 GB, free: 1.547 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.984e-05/0.1955, allocations: 80.14 kB / 0.587 GB, free: 1.465 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.1955, allocations: 15.81 kB / 0.587 GB, free: 1.449 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.1955, allocations: 17.7 kB / 0.5871 GB, free: 1.426 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1957, allocations: 314.8 kB / 0.5874 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.174e-05/0.1957, allocations: 4 kB / 0.5874 GB, free: 1.105 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.845e-05/0.1957, allocations: 12.12 kB / 0.5874 GB, free: 1.094 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.185e-05/0.1958, allocations: 28.84 kB / 0.5874 GB, free: 1.062 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.1958, allocations: 0 / 0.5874 GB, free: 1.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.762e-05/0.1959, allocations: 61.91 kB / 0.5875 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.1959, allocations: 6.188 kB / 0.5875 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1959, allocations: 3.938 kB / 0.5875 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1959, allocations: 4.031 kB / 0.5875 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-05/0.196, allocations: 8 kB / 0.5875 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.196, allocations: 0 / 0.5875 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.085e-05/0.1961, allocations: 3.938 kB / 0.5875 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.1961, allocations: 8 kB / 0.5875 GB, free: 0.9648 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 (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 9.408e-05/0.1962, allocations: 109.8 kB / 0.5876 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.225e-05/0.1962, allocations: 0 / 0.5876 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.1962, allocations: 15.42 kB / 0.5876 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1963, allocations: 0 / 0.5876 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.1963, allocations: 0 / 0.5876 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1963, allocations: 4 kB / 0.5876 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.1964, allocations: 153.7 kB / 0.5878 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1964, allocations: 0 / 0.5878 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.072e-05/0.1965, allocations: 11.94 kB / 0.5878 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1965, allocations: 0 / 0.5878 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.1965, allocations: 3.938 kB / 0.5878 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1965, allocations: 4 kB / 0.5878 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1965, allocations: 0 / 0.5878 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.1967, allocations: 81.03 kB / 0.5879 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.182e-05/0.1967, allocations: 85.03 kB / 0.5879 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.1968, allocations: 7.938 kB / 0.5879 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.521e-05/0.1968, allocations: 4 kB / 0.5879 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.654e-05/0.1969, allocations: 0 / 0.5879 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.1969, allocations: 0 / 0.5879 GB, free: 404 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.756e-05/0.1969, allocations: 87.22 kB / 0.588 GB, free: 316 kB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1969, allocations: 0 / 0.588 GB, free: 316 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001898/0.1971, allocations: 4 kB / 0.588 GB, free: 312 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 (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.0001305/0.1972, allocations: 103.2 kB / 0.5881 GB, free: 196 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001212/0.1974, allocations: 28.09 kB / 0.5882 GB, free: 168 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1974, allocations: 4 kB / 0.5882 GB, free: 164 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.515e-05/0.1974, allocations: 15.98 kB / 0.5882 GB, free: 148 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002829/0.1977, allocations: 8 kB / 0.5882 GB, free: 140 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/0.1981, allocations: 130.5 kB / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.1984, allocations: 0.6845 MB / 0.589 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.466e-05/0.1984, allocations: 4 kB / 0.589 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.1985, allocations: 7.438 kB / 0.589 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1985, allocations: 3.938 kB / 0.589 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of Templates: time 0.002634/0.2011, allocations: 0.5203 MB / 0.5895 GB, free: 14.75 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)