Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9727/0.9727, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 63.78 kB / 0.5053 GB, free: 5.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1752, allocations: 80.92 MB / 0.5844 GB, free: 4.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.003386/0.1787, allocations: 1.406 MB / 0.5857 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005792/0.1793, allocations: 201.1 kB / 0.5859 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.59e-05/0.1794, allocations: 0 / 0.5859 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.488e-05/0.1794, allocations: 3.984 kB / 0.5859 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.482e-05/0.1795, allocations: 7.938 kB / 0.5859 GB, free: 2.934 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.1798, allocations: 15.92 kB / 0.586 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.38e-05/0.1799, allocations: 31.91 kB / 0.586 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.18, allocations: 7.938 kB / 0.586 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.865e-05/0.1801, allocations: 11.98 kB / 0.586 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.278e-05/0.1801, allocations: 7.938 kB / 0.586 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.1801, allocations: 0 / 0.586 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.1803, allocations: 27.97 kB / 0.586 GB, free: 2.832 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.1803, allocations: 4 kB / 0.586 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.269e-05/0.1803, allocations: 15.94 kB / 0.5861 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.1805, allocations: 36.17 kB / 0.5861 GB, free: 2.777 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1805, allocations: 0 / 0.5861 GB, free: 2.777 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1805, allocations: 0 / 0.5861 GB, free: 2.777 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.1805, allocations: 4 kB / 0.5861 GB, free: 2.773 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004905/0.181, allocations: 339.4 kB / 0.5864 GB, free: 2.391 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1811, allocations: 12.03 kB / 0.5864 GB, free: 2.379 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.1812, allocations: 4.922 kB / 0.5864 GB, free: 2.375 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.1813, allocations: 168.4 kB / 0.5866 GB, free: 2.172 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.1814, allocations: 4.375 kB / 0.5866 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.1814, allocations: 384 / 0.5866 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.1816, allocations: 50.23 kB / 0.5867 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1816, allocations: 192 / 0.5867 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.1816, allocations: 3.938 kB / 0.5867 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1816, allocations: 0 / 0.5867 GB, free: 2.109 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.1818, allocations: 39.89 kB / 0.5867 GB, free: 2.07 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.1822, allocations: 256.8 kB / 0.5869 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.1823, allocations: 38.48 kB / 0.587 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.904e-05/0.1824, allocations: 24.91 kB / 0.587 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.1824, allocations: 0 / 0.587 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.1825, allocations: 34.56 kB / 0.587 GB, free: 1.652 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.1825, allocations: 3.938 kB / 0.587 GB, free: 1.648 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003743/0.1829, allocations: 81.64 kB / 0.5871 GB, free: 1.562 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.1829, allocations: 55.34 kB / 0.5872 GB, free: 1.496 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.836e-05/0.183, allocations: 101.8 kB / 0.5873 GB, free: 1.387 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.183, allocations: 25.7 kB / 0.5873 GB, free: 1.355 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.251e-05/0.1831, allocations: 88.27 kB / 0.5874 GB, free: 1.266 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.1831, allocations: 3.906 kB / 0.5874 GB, free: 1.262 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.1831, allocations: 17.72 kB / 0.5874 GB, free: 1.238 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1833, allocations: 314.8 kB / 0.5877 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-05/0.1834, allocations: 19.97 kB / 0.5877 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.333e-05/0.1834, allocations: 11.98 kB / 0.5877 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.1836, allocations: 44.83 kB / 0.5878 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.1836, allocations: 0 / 0.5878 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001979/0.1838, allocations: 69.59 kB / 0.5878 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.1839, allocations: 4 kB / 0.5878 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.1839, allocations: 0 / 0.5878 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1839, allocations: 0 / 0.5878 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.483e-05/0.184, allocations: 16.02 kB / 0.5879 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.184, allocations: 0 / 0.5879 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.602e-05/0.1841, allocations: 11.98 kB / 0.5879 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.1841, allocations: 0 / 0.5879 GB, free: 0.7383 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 (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 0.0001021/0.1842, allocations: 113.8 kB / 0.588 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.1842, allocations: 0 / 0.588 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002568/0.1845, allocations: 84.7 kB / 0.5881 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.1845, allocations: 0 / 0.5881 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1845, allocations: 0 / 0.5881 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1845, allocations: 0 / 0.5881 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.1847, allocations: 169.5 kB / 0.5882 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1847, allocations: 0 / 0.5882 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.15e-05/0.1848, allocations: 11.98 kB / 0.5882 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1848, allocations: 0 / 0.5882 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.1848, allocations: 240 / 0.5882 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1848, allocations: 4 kB / 0.5882 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1848, allocations: 4 kB / 0.5882 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.1851, allocations: 171.4 kB / 0.5884 GB, free: 112 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.1852, allocations: 89.09 kB / 0.5885 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.1852, allocations: 0 / 0.5885 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.884e-05/0.1853, allocations: 4 kB / 0.5885 GB, free: 0 / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/0.1853, allocations: 4.047 kB / 0.5885 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.1854, allocations: 8 kB / 0.5885 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.856e-05/0.1854, allocations: 75.28 kB / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1854, allocations: 0 / 0.5886 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002222/0.1856, allocations: 11.94 kB / 0.5886 GB, free: 15.9 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.0001263/0.1858, allocations: 96.58 kB / 0.5887 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002367/0.186, allocations: 43.83 kB / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.186, allocations: 4.062 kB / 0.5887 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.056e-05/0.1861, allocations: 23.92 kB / 0.5887 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.1865, allocations: 11.92 kB / 0.5888 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004034/0.1869, allocations: 126.4 kB / 0.5889 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.1872, allocations: 0.6768 MB / 0.5895 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.575e-05/0.1873, allocations: 8 kB / 0.5895 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.029e-05/0.1873, allocations: 11.44 kB / 0.5896 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.1873, allocations: 0 / 0.5896 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.002849/0.1902, allocations: 488.6 kB / 0.59 GB, free: 14.38 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)