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.001415/0.001415, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001726/0.001726, allocations: 190 kB / 16.13 MB, free: 6.645 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.4/1.4, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9773/0.9773, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002426/0.002427, allocations: 56.03 kB / 0.5047 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1874, allocations: 80.92 MB / 0.5837 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002475/0.1899, allocations: 1.325 MB / 0.585 GB, free: 3.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005819/0.1905, allocations: 308.7 kB / 0.5853 GB, free: 3.379 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.526e-05/0.1906, allocations: 0 / 0.5853 GB, free: 3.379 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.1906, allocations: 4 kB / 0.5853 GB, free: 3.375 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.683e-05/0.1907, allocations: 3.938 kB / 0.5853 GB, free: 3.371 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.1909, allocations: 43.81 kB / 0.5853 GB, free: 3.328 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.73e-05/0.191, allocations: 15.94 kB / 0.5854 GB, free: 3.312 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.071e-05/0.191, allocations: 3.984 kB / 0.5854 GB, free: 3.309 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.114e-05/0.1911, allocations: 4 kB / 0.5854 GB, free: 3.305 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.274e-05/0.1911, allocations: 7.938 kB / 0.5854 GB, free: 3.297 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.1911, allocations: 0 / 0.5854 GB, free: 3.297 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.1913, allocations: 55.95 kB / 0.5854 GB, free: 3.242 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.815e-05/0.1913, allocations: 11.97 kB / 0.5854 GB, free: 3.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.708e-05/0.1913, allocations: 11.94 kB / 0.5854 GB, free: 3.219 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001328/0.1915, allocations: 48.17 kB / 0.5855 GB, free: 3.172 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1915, allocations: 0 / 0.5855 GB, free: 3.172 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1915, allocations: 0 / 0.5855 GB, free: 3.172 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.1915, allocations: 0 / 0.5855 GB, free: 3.172 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.0003749/0.1919, allocations: 331.6 kB / 0.5858 GB, free: 2.797 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1919, allocations: 8.031 kB / 0.5858 GB, free: 2.789 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002382/0.1921, allocations: 28.81 kB / 0.5858 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.1923, allocations: 168.3 kB / 0.586 GB, free: 2.559 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1923, allocations: 4.312 kB / 0.586 GB, free: 2.555 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.1923, allocations: 12.36 kB / 0.586 GB, free: 2.543 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.1924, allocations: 38.25 kB / 0.5861 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.1924, allocations: 192 / 0.5861 GB, free: 2.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.1924, allocations: 7.938 kB / 0.5861 GB, free: 2.492 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1925, allocations: 3.938 kB / 0.5861 GB, free: 2.488 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.96e-05/0.1925, allocations: 15.98 kB / 0.5861 GB, free: 2.473 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002123/0.1927, allocations: 157.7 kB / 0.5862 GB, free: 2.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002106/0.1948, allocations: 274.3 kB / 0.5865 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.023e-05/0.1949, allocations: 16.86 kB / 0.5865 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.1949, allocations: 0 / 0.5865 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.1949, allocations: 30.56 kB / 0.5865 GB, free: 1.934 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1949, allocations: 0 / 0.5865 GB, free: 1.934 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001537/0.1951, allocations: 65.62 kB / 0.5866 GB, free: 1.863 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.1951, allocations: 55.39 kB / 0.5867 GB, free: 1.797 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.148e-05/0.1952, allocations: 97.86 kB / 0.5868 GB, free: 1.691 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.1952, allocations: 29.7 kB / 0.5868 GB, free: 1.656 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.554e-05/0.1953, allocations: 84.08 kB / 0.5869 GB, free: 1.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.1953, allocations: 7.812 kB / 0.5869 GB, free: 1.562 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.1953, allocations: 17.72 kB / 0.5869 GB, free: 1.539 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1954, allocations: 318.8 kB / 0.5872 GB, free: 1.219 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.237e-05/0.1955, allocations: 8 kB / 0.5872 GB, free: 1.211 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.731e-05/0.1955, allocations: 8 kB / 0.5872 GB, free: 1.203 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.473e-05/0.1955, allocations: 24.98 kB / 0.5872 GB, free: 1.176 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1956, allocations: 4 kB / 0.5872 GB, free: 1.172 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.939e-05/0.1956, allocations: 53.69 kB / 0.5873 GB, free: 1.113 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.1957, allocations: 6.188 kB / 0.5873 GB, free: 1.109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1957, allocations: 3.938 kB / 0.5873 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.1957, allocations: 0 / 0.5873 GB, free: 1.105 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-05/0.1958, allocations: 15.92 kB / 0.5873 GB, free: 1.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.1958, allocations: 4 kB / 0.5873 GB, free: 1.086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.181e-05/0.1958, allocations: 0 / 0.5873 GB, free: 1.086 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.1958, allocations: 0 / 0.5873 GB, free: 1.086 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 7.452e-05/0.1959, allocations: 113.8 kB / 0.5874 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.14e-05/0.1959, allocations: 4.328 kB / 0.5874 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.274e-05/0.1959, allocations: 11.44 kB / 0.5874 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.196, allocations: 3.984 kB / 0.5874 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.196, allocations: 0 / 0.5874 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.196, allocations: 0 / 0.5874 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.1961, allocations: 157.7 kB / 0.5876 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1961, allocations: 0 / 0.5876 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.847e-05/0.1962, allocations: 7.984 kB / 0.5876 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1962, allocations: 0 / 0.5876 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.1962, allocations: 11.94 kB / 0.5876 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1962, allocations: 0 / 0.5876 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1962, allocations: 0 / 0.5876 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.1963, allocations: 84.97 kB / 0.5877 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.525e-05/0.1964, allocations: 84.98 kB / 0.5878 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.1964, allocations: 3.938 kB / 0.5878 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.009e-05/0.1965, allocations: 7.984 kB / 0.5878 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.1965, allocations: 4 kB / 0.5878 GB, free: 0.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.1965, allocations: 4 kB / 0.5878 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.27e-05/0.1965, allocations: 75.28 kB / 0.5879 GB, free: 432 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1966, allocations: 4 kB / 0.5879 GB, free: 428 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001834/0.1967, allocations: 4 kB / 0.5879 GB, free: 424 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.0001207/0.1969, allocations: 95.25 kB / 0.588 GB, free: 316 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001017/0.197, allocations: 27.98 kB / 0.588 GB, free: 288 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.197, allocations: 0 / 0.588 GB, free: 288 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.282e-05/0.197, allocations: 20.03 kB / 0.588 GB, free: 268 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.1973, allocations: 9.109 kB / 0.588 GB, free: 260 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/0.1976, allocations: 132.3 kB / 0.5881 GB, free: 100 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.1979, allocations: 0.6731 MB / 0.5888 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.454e-05/0.1979, allocations: 7.984 kB / 0.5888 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.198, allocations: 11.44 kB / 0.5888 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.198, allocations: 0 / 0.5888 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of Templates: time 0.002486/0.2005, allocations: 0.4892 MB / 0.5893 GB, free: 14.89 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)