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.001072/0.001073, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001155/0.001155, allocations: 189.8 kB / 16.25 MB, free: 6.637 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.401/1.401, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.071/1.071, allocations: 135.1 MB / 425.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 65.44 kB / 0.5048 GB, free: 5.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1697, allocations: 80.94 MB / 0.5839 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.002758/0.1725, allocations: 1.453 MB / 0.5853 GB, free: 3.406 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004923/0.173, allocations: 207.4 kB / 0.5855 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.027e-05/0.1731, allocations: 0 / 0.5855 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.141e-05/0.1731, allocations: 3.938 kB / 0.5855 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.443e-05/0.1732, allocations: 0 / 0.5855 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.1734, allocations: 23.91 kB / 0.5855 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.785e-05/0.1735, allocations: 23.92 kB / 0.5855 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.1736, allocations: 8 kB / 0.5856 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.883e-05/0.1737, allocations: 7.984 kB / 0.5856 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.709e-05/0.1737, allocations: 19.91 kB / 0.5856 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.1737, allocations: 0 / 0.5856 GB, free: 3.117 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.996e-05/0.1738, allocations: 23.98 kB / 0.5856 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.1738, allocations: 8 kB / 0.5856 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.1739, allocations: 3.938 kB / 0.5856 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.174, allocations: 44.17 kB / 0.5857 GB, free: 3.039 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.174, allocations: 7.922 kB / 0.5857 GB, free: 3.031 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.174, allocations: 4 kB / 0.5857 GB, free: 3.027 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.174, allocations: 0 / 0.5857 GB, free: 3.027 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.0004932/0.1745, allocations: 343.4 kB / 0.586 GB, free: 2.641 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.1746, allocations: 8.031 kB / 0.586 GB, free: 2.633 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.1747, allocations: 4.938 kB / 0.586 GB, free: 2.629 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.1749, allocations: 164.3 kB / 0.5862 GB, free: 2.43 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1749, allocations: 384 / 0.5862 GB, free: 2.43 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.1749, allocations: 384 / 0.5862 GB, free: 2.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.1751, allocations: 54.23 kB / 0.5862 GB, free: 2.371 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1751, allocations: 192 / 0.5862 GB, free: 2.371 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.1751, allocations: 3.938 kB / 0.5862 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1752, allocations: 4 kB / 0.5862 GB, free: 2.363 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.1753, allocations: 31.95 kB / 0.5863 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/0.1757, allocations: 252.8 kB / 0.5865 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.1758, allocations: 50.47 kB / 0.5865 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.153e-05/0.1759, allocations: 20.91 kB / 0.5866 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.176, allocations: 0 / 0.5866 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.176, allocations: 30.56 kB / 0.5866 GB, free: 1.914 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.435e-06/0.176, allocations: 3.984 kB / 0.5866 GB, free: 1.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003519/0.1764, allocations: 89.58 kB / 0.5867 GB, free: 1.816 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.1764, allocations: 51.41 kB / 0.5867 GB, free: 1.754 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.757e-05/0.1765, allocations: 109.8 kB / 0.5868 GB, free: 1.637 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.1765, allocations: 25.7 kB / 0.5869 GB, free: 1.605 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/0.1766, allocations: 80.14 kB / 0.5869 GB, free: 1.523 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.1766, allocations: 3.906 kB / 0.5869 GB, free: 1.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/0.1766, allocations: 21.84 kB / 0.587 GB, free: 1.492 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1768, allocations: 314.8 kB / 0.5873 GB, free: 1.176 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.162e-05/0.1769, allocations: 11.98 kB / 0.5873 GB, free: 1.164 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.535e-05/0.1769, allocations: 19.98 kB / 0.5873 GB, free: 1.145 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.1771, allocations: 32.89 kB / 0.5873 GB, free: 1.109 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1771, allocations: 4 kB / 0.5873 GB, free: 1.105 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001848/0.1773, allocations: 73.53 kB / 0.5874 GB, free: 1.027 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1773, allocations: 4 kB / 0.5874 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.1773, allocations: 4 kB / 0.5874 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1773, allocations: 0 / 0.5874 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.744e-05/0.1774, allocations: 11.98 kB / 0.5874 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.1775, allocations: 0 / 0.5874 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.521e-05/0.1775, allocations: 12.02 kB / 0.5874 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.1775, allocations: 0 / 0.5874 GB, free: 0.9961 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 6.849e-05/0.1776, allocations: 117.8 kB / 0.5875 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.221e-05/0.1776, allocations: 0 / 0.5875 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002331/0.1779, allocations: 80.7 kB / 0.5876 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1779, allocations: 0 / 0.5876 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.1779, allocations: 4 kB / 0.5876 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1779, allocations: 7.938 kB / 0.5876 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.1781, allocations: 161.5 kB / 0.5878 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1781, allocations: 0 / 0.5878 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.906e-05/0.1781, allocations: 11.98 kB / 0.5878 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1781, allocations: 0 / 0.5878 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.1782, allocations: 0 / 0.5878 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1782, allocations: 0 / 0.5878 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1782, allocations: 0 / 0.5878 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.1784, allocations: 175.4 kB / 0.588 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.663e-05/0.1785, allocations: 77.11 kB / 0.588 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.1785, allocations: 0 / 0.588 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.518e-05/0.1786, allocations: 11.98 kB / 0.5881 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.1786, allocations: 4 kB / 0.5881 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.1786, allocations: 3.938 kB / 0.5881 GB, free: 260 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.29e-05/0.1786, allocations: 79.28 kB / 0.5881 GB, free: 180 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.243e-06/0.1787, allocations: 4 kB / 0.5881 GB, free: 176 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002162/0.1789, allocations: 7.938 kB / 0.5881 GB, free: 168 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 (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.0001039/0.179, allocations: 103.2 kB / 0.5882 GB, free: 52 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.1792, allocations: 31.97 kB / 0.5883 GB, free: 20 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1792, allocations: 4 kB / 0.5883 GB, free: 16 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.1793, allocations: 24.11 kB / 0.5883 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.1796, allocations: 7.938 kB / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003245/0.1799, allocations: 138.9 kB / 0.5884 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.1802, allocations: 0.6768 MB / 0.5891 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.352e-05/0.1802, allocations: 8 kB / 0.5891 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.107e-05/0.1803, allocations: 7.438 kB / 0.5891 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1803, allocations: 0 / 0.5891 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.002307/0.1826, allocations: 456.5 kB / 0.5896 GB, free: 14.67 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)