Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001416/0.001416, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.497/1.497, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.075/1.075, allocations: 135.1 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 67.95 kB / 0.5049 GB, free: 5.625 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1752, allocations: 80.93 MB / 0.5839 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.00241/0.1776, allocations: 1.324 MB / 0.5852 GB, free: 3.523 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.1789, allocations: 0.8281 MB / 0.586 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.924e-05/0.179, allocations: 4 kB / 0.586 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.018e-05/0.179, allocations: 0 / 0.586 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.589e-05/0.179, allocations: 7.938 kB / 0.586 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004523/0.1795, allocations: 119.5 kB / 0.5861 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.272e-05/0.1796, allocations: 23.92 kB / 0.5861 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.1796, allocations: 0 / 0.5861 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.007e-05/0.1797, allocations: 15.98 kB / 0.5862 GB, free: 2.523 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.618e-05/0.1797, allocations: 7.938 kB / 0.5862 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.1797, allocations: 4 kB / 0.5862 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003061/0.1801, allocations: 183.7 kB / 0.5863 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.391e-05/0.1801, allocations: 0 / 0.5863 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.387e-05/0.1801, allocations: 7.938 kB / 0.5863 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.1803, allocations: 128 kB / 0.5865 GB, free: 2.199 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1803, allocations: 0 / 0.5865 GB, free: 2.199 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1803, allocations: 0 / 0.5865 GB, free: 2.199 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.1803, allocations: 0 / 0.5865 GB, free: 2.199 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.0004385/0.1808, allocations: 363.3 kB / 0.5868 GB, free: 1.793 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1808, allocations: 12.03 kB / 0.5868 GB, free: 1.781 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.1809, allocations: 4.938 kB / 0.5868 GB, free: 1.777 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.181, allocations: 168.4 kB / 0.587 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.402e-05/0.1811, allocations: 34.25 kB / 0.587 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.1811, allocations: 384 / 0.587 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.1812, allocations: 42.25 kB / 0.5871 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.1813, allocations: 7.938 kB / 0.5871 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1813, allocations: 0 / 0.5871 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1813, allocations: 0 / 0.5871 GB, free: 1.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.261e-05/0.1814, allocations: 27.86 kB / 0.5871 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.1815, allocations: 157.7 kB / 0.5873 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.1817, allocations: 46.61 kB / 0.5873 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.079e-05/0.1818, allocations: 12.94 kB / 0.5873 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002714/0.1821, allocations: 186.2 kB / 0.5875 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.1821, allocations: 30.56 kB / 0.5875 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.1821, allocations: 0 / 0.5875 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002364/0.1824, allocations: 77.45 kB / 0.5876 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.1824, allocations: 51.41 kB / 0.5876 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.879e-05/0.1825, allocations: 93.86 kB / 0.5877 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.1825, allocations: 33.7 kB / 0.5878 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.711e-05/0.1825, allocations: 88.12 kB / 0.5878 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.1826, allocations: 7.891 kB / 0.5879 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.1826, allocations: 17.72 kB / 0.5879 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.1827, allocations: 310.8 kB / 0.5882 GB, free: 208 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.971e-05/0.1828, allocations: 11.98 kB / 0.5882 GB, free: 196 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.974e-05/0.1828, allocations: 8 kB / 0.5882 GB, free: 188 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.529e-05/0.1829, allocations: 28.78 kB / 0.5882 GB, free: 156 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1829, allocations: 4 kB / 0.5882 GB, free: 152 kB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001253/0.183, allocations: 69.98 kB / 0.5883 GB, free: 76 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1831, allocations: 7.938 kB / 0.5883 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1831, allocations: 0 / 0.5883 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.1831, allocations: 0 / 0.5883 GB, free: 68 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.079e-05/0.1831, allocations: 8 kB / 0.5883 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.1831, allocations: 0 / 0.5883 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.095e-05/0.1832, allocations: 7.938 kB / 0.5883 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.1832, allocations: 0 / 0.5883 GB, free: 52 kB / 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 8.294e-05/0.1833, allocations: 117.8 kB / 0.5884 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.1833, allocations: 11.97 kB / 0.5884 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.1835, allocations: 65.11 kB / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1835, allocations: 4 kB / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1835, allocations: 0 / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1835, allocations: 0 / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.817e-05/0.1836, allocations: 153.7 kB / 0.5886 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1836, allocations: 4 kB / 0.5886 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.939e-05/0.1837, allocations: 12 kB / 0.5887 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1837, allocations: 7.875 kB / 0.5887 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.1837, allocations: 3.984 kB / 0.5887 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1837, allocations: 0 / 0.5887 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1837, allocations: 0 / 0.5887 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.1838, allocations: 84.97 kB / 0.5887 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-05/0.1839, allocations: 89.09 kB / 0.5888 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.1839, allocations: 3.938 kB / 0.5888 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.983e-05/0.184, allocations: 4 kB / 0.5888 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.184, allocations: 7.984 kB / 0.5888 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.184, allocations: 0 / 0.5888 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.034e-05/0.1841, allocations: 79.28 kB / 0.5889 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1841, allocations: 0 / 0.5889 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002258/0.1843, allocations: 35.94 kB / 0.589 GB, free: 15.27 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 (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.0002009/0.1845, allocations: 135.2 kB / 0.5891 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001411/0.1847, allocations: 39.91 kB / 0.5891 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1847, allocations: 0 / 0.5891 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.276e-05/0.1847, allocations: 12 kB / 0.5891 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.185, allocations: 14.48 kB / 0.5892 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002483/0.1852, allocations: 127.1 kB / 0.5893 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.1854, allocations: 0.6807 MB / 0.5899 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.21e-05/0.1855, allocations: 4 kB / 0.5899 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.043e-05/0.1855, allocations: 11.44 kB / 0.59 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1855, allocations: 0 / 0.59 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.00311/0.1886, allocations: 1.042 MB / 0.591 GB, free: 13.16 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)