Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009586/0.0009585, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9987/0.9987, allocations: 135.3 MB / 426.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003285, allocations: 16 kB / 0.507 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.176, allocations: 82.3 MB / 0.5874 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002135/0.1782, allocations: 1.348 MB / 0.5887 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006746/0.1789, allocations: 367.1 kB / 0.589 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.857e-05/0.1789, allocations: 4 kB / 0.589 GB, free: 1.418 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.219e-05/0.1791, allocations: 11.92 kB / 0.589 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.13e-05/0.1791, allocations: 19.78 kB / 0.5891 GB, free: 1.387 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00039/0.1795, allocations: 103.7 kB / 0.5892 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.1797, allocations: 95.64 kB / 0.5893 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.1798, allocations: 36.08 kB / 0.5893 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.005e-05/0.1799, allocations: 31.86 kB / 0.5893 GB, free: 1.121 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.885e-05/0.1799, allocations: 31.84 kB / 0.5893 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.18, allocations: 8 kB / 0.5894 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001278/0.1801, allocations: 55.95 kB / 0.5894 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.585e-05/0.1801, allocations: 19.91 kB / 0.5894 GB, free: 1.008 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.026e-05/0.1802, allocations: 37.64 kB / 0.5895 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.1803, allocations: 88.08 kB / 0.5895 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1803, allocations: 0 / 0.5895 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1803, allocations: 0 / 0.5895 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.1804, allocations: 3.938 kB / 0.5896 GB, free: 0.875 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005678/0.1809, allocations: 411 kB / 0.5899 GB, free: 436 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.181, allocations: 8.031 kB / 0.59 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002237/0.1812, allocations: 31.83 kB / 0.59 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.1814, allocations: 190.9 kB / 0.5902 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.136e-05/0.1815, allocations: 33.7 kB / 0.5902 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.1815, allocations: 4 kB / 0.5902 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.1819, allocations: 113.6 kB / 0.5903 GB, free: 0 / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1819, allocations: 0 / 0.5903 GB, free: 0 / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.182, allocations: 4.078 kB / 0.5903 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.182, allocations: 4 kB / 0.5903 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002497/0.1822, allocations: 101.5 kB / 0.5904 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007792/0.183, allocations: 388.3 kB / 0.5908 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004959/0.1835, allocations: 134.6 kB / 0.5909 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.1836, allocations: 48.84 kB / 0.591 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.1837, allocations: 3.938 kB / 0.591 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.1837, allocations: 42.48 kB / 0.591 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.1837, allocations: 0 / 0.591 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0004217/0.1841, allocations: 145.7 kB / 0.5911 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.1842, allocations: 51.41 kB / 0.5912 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.1843, allocations: 134 kB / 0.5913 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1843, allocations: 25.7 kB / 0.5913 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.537e-05/0.1844, allocations: 108.4 kB / 0.5914 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.1844, allocations: 27.64 kB / 0.5915 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.1844, allocations: 0 / 0.5915 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.1846, allocations: 318.8 kB / 0.5918 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.1847, allocations: 35.97 kB / 0.5918 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.1848, allocations: 61.92 kB / 0.5919 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.1849, allocations: 39.98 kB / 0.5919 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1849, allocations: 0 / 0.5919 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000257/0.1852, allocations: 121.5 kB / 0.592 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1852, allocations: 6.031 kB / 0.592 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1852, allocations: 4 kB / 0.592 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.1852, allocations: 0 / 0.592 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.1853, allocations: 27.92 kB / 0.5921 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1853, allocations: 0 / 0.5921 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.943e-05/0.1854, allocations: 16.02 kB / 0.5921 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.1854, allocations: 4 kB / 0.5921 GB, free: 14.06 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.111e-05/0.1855, allocations: 109.8 kB / 0.5922 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.1856, allocations: 15.86 kB / 0.5922 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.79e-05/0.1856, allocations: 16.7 kB / 0.5922 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1856, allocations: 0 / 0.5922 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1857, allocations: 3.938 kB / 0.5922 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1857, allocations: 4 kB / 0.5922 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.1859, allocations: 201.5 kB / 0.5924 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1859, allocations: 4 kB / 0.5924 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.186, allocations: 19.98 kB / 0.5924 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.186, allocations: 3.953 kB / 0.5924 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.186, allocations: 7.938 kB / 0.5925 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.186, allocations: 3.984 kB / 0.5925 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.186, allocations: 3.938 kB / 0.5925 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002808/0.1863, allocations: 215.4 kB / 0.5927 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.316e-05/0.1864, allocations: 85.02 kB / 0.5927 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.1864, allocations: 7.953 kB / 0.5928 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.1866, allocations: 11.98 kB / 0.5928 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.1866, allocations: 11.98 kB / 0.5928 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.1866, allocations: 4 kB / 0.5928 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000127/0.1868, allocations: 103.2 kB / 0.5929 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1868, allocations: 0 / 0.5929 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002378/0.187, allocations: 24 kB / 0.5929 GB, free: 13.12 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001057/0.1871, allocations: 99.19 kB / 0.593 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003171/0.1874, allocations: 79.95 kB / 0.5931 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1875, allocations: 4 kB / 0.5931 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.1876, allocations: 47.89 kB / 0.5931 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.1879, allocations: 28.05 kB / 0.5931 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.1884, allocations: 230.5 kB / 0.5934 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.1886, allocations: 0.6965 MB / 0.594 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.965e-05/0.1887, allocations: 8.672 kB / 0.5941 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.499e-05/0.1888, allocations: 11.44 kB / 0.5941 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1888, allocations: 4 kB / 0.5941 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of Templates: time 0.003906/0.1927, allocations: 1.261 MB / 0.5953 GB, free: 10.63 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)