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.001311/0.001311, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002171/0.002171, allocations: 192.7 kB / 16.13 MB, free: 6.645 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.384/1.384, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.003/1.003, allocations: 135.1 MB / 425.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 68.17 kB / 0.5047 GB, free: 5.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1736, allocations: 80.92 MB / 0.5837 GB, free: 5.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002449/0.1761, allocations: 1.329 MB / 0.585 GB, free: 3.703 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.1775, allocations: 0.8514 MB / 0.5858 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.859e-05/0.1775, allocations: 3.938 kB / 0.5858 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.241e-05/0.1776, allocations: 0 / 0.5858 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.684e-05/0.1776, allocations: 0 / 0.5858 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004465/0.1781, allocations: 111.5 kB / 0.5859 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.21e-05/0.1781, allocations: 23.92 kB / 0.586 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.642e-05/0.1782, allocations: 8 kB / 0.586 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.03e-05/0.1782, allocations: 11.98 kB / 0.586 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.654e-05/0.1783, allocations: 7.938 kB / 0.586 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.1783, allocations: 4 kB / 0.586 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003382/0.1786, allocations: 175.7 kB / 0.5862 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.1787, allocations: 0 / 0.5862 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.1787, allocations: 7.938 kB / 0.5862 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.179, allocations: 128 kB / 0.5863 GB, free: 2.375 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.179, allocations: 0 / 0.5863 GB, free: 2.375 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.179, allocations: 0 / 0.5863 GB, free: 2.375 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.179, allocations: 8 kB / 0.5863 GB, free: 2.367 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.0005562/0.1796, allocations: 359.4 kB / 0.5866 GB, free: 1.965 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.1796, allocations: 12.03 kB / 0.5867 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.1797, allocations: 4.922 kB / 0.5867 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.1798, allocations: 168.4 kB / 0.5868 GB, free: 1.746 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.227e-05/0.1799, allocations: 30.25 kB / 0.5868 GB, free: 1.711 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.1799, allocations: 4.375 kB / 0.5869 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.1801, allocations: 46.19 kB / 0.5869 GB, free: 1.656 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1801, allocations: 7.938 kB / 0.5869 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1801, allocations: 0 / 0.5869 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.1801, allocations: 0 / 0.5869 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.873e-05/0.1802, allocations: 19.98 kB / 0.5869 GB, free: 1.629 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.1804, allocations: 161.5 kB / 0.5871 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.1806, allocations: 46.61 kB / 0.5871 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.013e-05/0.1807, allocations: 20.94 kB / 0.5871 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002896/0.181, allocations: 178.2 kB / 0.5873 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.181, allocations: 38.5 kB / 0.5873 GB, free: 1.086 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.181, allocations: 0 / 0.5873 GB, free: 1.086 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002477/0.1813, allocations: 73.52 kB / 0.5874 GB, free: 1.008 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.1813, allocations: 55.41 kB / 0.5875 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.094e-05/0.1814, allocations: 93.86 kB / 0.5876 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1814, allocations: 29.7 kB / 0.5876 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.768e-05/0.1815, allocations: 80.14 kB / 0.5877 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.1815, allocations: 7.891 kB / 0.5877 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.1816, allocations: 17.72 kB / 0.5877 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1817, allocations: 314.8 kB / 0.588 GB, free: 384 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.344e-05/0.1818, allocations: 7.984 kB / 0.588 GB, free: 376 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.104e-05/0.1818, allocations: 12 kB / 0.588 GB, free: 364 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.216e-05/0.1819, allocations: 36.78 kB / 0.588 GB, free: 324 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1819, allocations: 0 / 0.588 GB, free: 324 kB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001303/0.182, allocations: 54.06 kB / 0.5881 GB, free: 264 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1821, allocations: 11.92 kB / 0.5881 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1821, allocations: 4 kB / 0.5881 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1821, allocations: 48 / 0.5881 GB, free: 248 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.156e-05/0.1822, allocations: 7.984 kB / 0.5881 GB, free: 240 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1822, allocations: 4 kB / 0.5881 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.144e-05/0.1822, allocations: 7.938 kB / 0.5881 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.1822, allocations: 4 kB / 0.5881 GB, free: 224 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.147e-05/0.1823, allocations: 121.8 kB / 0.5883 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.1823, allocations: 3.938 kB / 0.5883 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001753/0.1825, allocations: 65.17 kB / 0.5883 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1825, allocations: 0 / 0.5883 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1825, allocations: 0 / 0.5883 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1825, allocations: 4 kB / 0.5883 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.1827, allocations: 157.7 kB / 0.5885 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1827, allocations: 0 / 0.5885 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.383e-05/0.1827, allocations: 8 kB / 0.5885 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.81e-06/0.1827, allocations: 3.938 kB / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.1827, allocations: 3.938 kB / 0.5885 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.1828, allocations: 7.984 kB / 0.5885 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1828, allocations: 0 / 0.5885 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.1829, allocations: 88.97 kB / 0.5886 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.207e-05/0.183, allocations: 85.09 kB / 0.5887 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.183, allocations: 3.938 kB / 0.5887 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.65e-05/0.1831, allocations: 7.938 kB / 0.5887 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.1831, allocations: 3.984 kB / 0.5887 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.1831, allocations: 4 kB / 0.5887 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.52e-05/0.1832, allocations: 75.28 kB / 0.5888 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1832, allocations: 0 / 0.5888 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002221/0.1834, allocations: 39.94 kB / 0.5888 GB, free: 15.44 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.0001975/0.1836, allocations: 131.2 kB / 0.5889 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001489/0.1837, allocations: 27.92 kB / 0.5889 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1838, allocations: 4 kB / 0.5889 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.86e-05/0.1838, allocations: 15.98 kB / 0.589 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.184, allocations: 9.656 kB / 0.589 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.1843, allocations: 144.8 kB / 0.5891 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.1846, allocations: 0.677 MB / 0.5898 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.379e-05/0.1847, allocations: 11.91 kB / 0.5898 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.108e-05/0.1847, allocations: 15.44 kB / 0.5898 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1847, allocations: 0 / 0.5898 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of Templates: time 0.003204/0.1879, allocations: 1.018 MB / 0.5908 GB, free: 13.34 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)