Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.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.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008553/0.008553, allocations: 98.38 kB / 15.73 MB, free: 6.055 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.001852/0.001852, allocations: 191.7 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8035/0.8035, allocations: 132.2 MB / 422.7 MB, free: 6.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 63.97 kB / 0.5813 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1805, allocations: 80.2 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002912/0.1835, allocations: 1.401 MB / 0.661 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.1846, allocations: 0.6006 MB / 0.6616 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.1e-05/0.1846, allocations: 0 / 0.6616 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.897e-05/0.1847, allocations: 0 / 0.6616 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.796e-05/0.1848, allocations: 7.922 kB / 0.6616 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004161/0.1852, allocations: 95.56 kB / 0.6617 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.792e-05/0.1853, allocations: 31.86 kB / 0.6617 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1854, allocations: 12 kB / 0.6617 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.881e-05/0.1854, allocations: 11.94 kB / 0.6618 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.67e-05/0.1855, allocations: 15.92 kB / 0.6618 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.1855, allocations: 0 / 0.6618 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002714/0.1858, allocations: 143.7 kB / 0.6619 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.1858, allocations: 4 kB / 0.6619 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.947e-05/0.1859, allocations: 15.92 kB / 0.6619 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.1861, allocations: 99.75 kB / 0.662 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.912e-06/0.1861, allocations: 0 / 0.662 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1861, allocations: 3.938 kB / 0.662 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.1861, allocations: 4 kB / 0.662 GB, free: 7.797 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005097/0.1867, allocations: 359.2 kB / 0.6624 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1867, allocations: 8.031 kB / 0.6624 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004344/0.1871, allocations: 32.89 kB / 0.6624 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.1873, allocations: 168.3 kB / 0.6626 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.1873, allocations: 4.375 kB / 0.6626 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.1873, allocations: 384 / 0.6626 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.1876, allocations: 66.14 kB / 0.6626 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1876, allocations: 192 / 0.6626 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.1876, allocations: 7.922 kB / 0.6627 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.1876, allocations: 4 kB / 0.6627 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002506/0.1879, allocations: 51.94 kB / 0.6627 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.1883, allocations: 280.8 kB / 0.663 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.1886, allocations: 70.41 kB / 0.663 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.1887, allocations: 28.89 kB / 0.6631 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.1887, allocations: 0 / 0.6631 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.1887, allocations: 34.56 kB / 0.6631 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1887, allocations: 0 / 0.6631 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004969/0.1892, allocations: 113.6 kB / 0.6632 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.1893, allocations: 55.39 kB / 0.6633 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.2e-05/0.1894, allocations: 97.86 kB / 0.6634 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.1894, allocations: 29.7 kB / 0.6634 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.1894, allocations: 80.14 kB / 0.6635 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.1895, allocations: 8.078 kB / 0.6635 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.1895, allocations: 25.64 kB / 0.6635 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.1896, allocations: 310.8 kB / 0.6638 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.1898, allocations: 23.97 kB / 0.6638 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.1899, allocations: 31.91 kB / 0.6638 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.1901, allocations: 60.86 kB / 0.6639 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1901, allocations: 0 / 0.6639 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002767/0.1904, allocations: 93.53 kB / 0.664 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1904, allocations: 7.938 kB / 0.664 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1905, allocations: 0 / 0.664 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.1905, allocations: 4 kB / 0.664 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.1906, allocations: 19.97 kB / 0.664 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1906, allocations: 3.938 kB / 0.664 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.076e-05/0.1907, allocations: 7.984 kB / 0.664 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.1907, allocations: 0 / 0.664 GB, free: 5.523 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 (2): * Single equations (assignments): 2 * 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.547e-05/0.1908, allocations: 118.7 kB / 0.6641 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.1908, allocations: 0 / 0.6641 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.486e-05/0.1909, allocations: 7.125 kB / 0.6641 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1909, allocations: 0 / 0.6641 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1909, allocations: 4 kB / 0.6642 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1909, allocations: 0 / 0.6642 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.1911, allocations: 165.6 kB / 0.6643 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1911, allocations: 0 / 0.6643 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.1912, allocations: 15.98 kB / 0.6643 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1912, allocations: 0 / 0.6643 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.1913, allocations: 4 kB / 0.6643 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1913, allocations: 0 / 0.6643 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1913, allocations: 0 / 0.6643 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/0.1916, allocations: 191.4 kB / 0.6645 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.1917, allocations: 81.06 kB / 0.6646 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.1917, allocations: 4 kB / 0.6646 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.1918, allocations: 7.984 kB / 0.6646 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.1919, allocations: 0 / 0.6646 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.1919, allocations: 11.98 kB / 0.6646 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.106e-05/0.1919, allocations: 79.28 kB / 0.6647 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1919, allocations: 4.031 kB / 0.6647 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002363/0.1922, allocations: 15.94 kB / 0.6647 GB, free: 4.73 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 (2): * Single equations (assignments): 2 * 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.000176/0.1924, allocations: 111.2 kB / 0.6648 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003099/0.1927, allocations: 55.88 kB / 0.6649 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1927, allocations: 4.062 kB / 0.6649 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.1928, allocations: 31.97 kB / 0.6649 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.1931, allocations: 19.39 kB / 0.6649 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004238/0.1936, allocations: 122.5 kB / 0.665 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.1938, allocations: 0.6807 MB / 0.6657 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.494e-05/0.1939, allocations: 8.328 kB / 0.6657 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.1939, allocations: 11.44 kB / 0.6657 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1939, allocations: 0 / 0.6657 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of Templates: time 0.00327/0.1972, allocations: 0.7843 MB / 0.6665 GB, free: 2.852 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)