Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001284/0.001285, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001095/0.001095, allocations: 192.8 kB / 16.14 MB, free: 6.695 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.494/1.494, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7801/0.7801, allocations: 132.2 MB / 422.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 68.95 kB / 0.5011 GB, free: 9.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1761, allocations: 80.21 MB / 0.5794 GB, free: 9.238 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002404/0.1785, allocations: 1.313 MB / 0.5807 GB, free: 7.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.1799, allocations: 0.8554 MB / 0.5816 GB, free: 7.051 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.542e-05/0.1799, allocations: 4 kB / 0.5816 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.985e-05/0.18, allocations: 0 / 0.5816 GB, free: 7.047 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.905e-05/0.18, allocations: 11.92 kB / 0.5816 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004372/0.1805, allocations: 107.6 kB / 0.5817 GB, free: 6.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.067e-05/0.1806, allocations: 31.86 kB / 0.5817 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.65e-05/0.1806, allocations: 0 / 0.5817 GB, free: 6.898 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.394e-05/0.1807, allocations: 11.94 kB / 0.5817 GB, free: 6.887 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.186e-05/0.1807, allocations: 11.98 kB / 0.5817 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.1808, allocations: 4 kB / 0.5817 GB, free: 6.871 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003341/0.1811, allocations: 167.7 kB / 0.5819 GB, free: 6.707 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.1811, allocations: 7.938 kB / 0.5819 GB, free: 6.699 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.1812, allocations: 15.92 kB / 0.5819 GB, free: 6.684 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000249/0.1814, allocations: 120 kB / 0.582 GB, free: 6.566 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.1814, allocations: 4 kB / 0.582 GB, free: 6.562 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1814, allocations: 3.938 kB / 0.582 GB, free: 6.559 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.1815, allocations: 0 / 0.582 GB, free: 6.559 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.0005374/0.182, allocations: 360.4 kB / 0.5824 GB, free: 6.156 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.182, allocations: 12.03 kB / 0.5824 GB, free: 6.145 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.1821, allocations: 0.9375 kB / 0.5824 GB, free: 6.145 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.1822, allocations: 168.4 kB / 0.5826 GB, free: 5.941 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.438e-05/0.1823, allocations: 30.27 kB / 0.5826 GB, free: 5.906 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.1823, allocations: 8.312 kB / 0.5826 GB, free: 5.898 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.1825, allocations: 42.25 kB / 0.5826 GB, free: 5.852 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1825, allocations: 3.938 kB / 0.5826 GB, free: 5.848 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.1825, allocations: 0 / 0.5826 GB, free: 5.848 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.1825, allocations: 3.984 kB / 0.5826 GB, free: 5.844 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.1827, allocations: 23.92 kB / 0.5827 GB, free: 5.82 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.1829, allocations: 157.7 kB / 0.5828 GB, free: 5.617 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002339/0.1831, allocations: 46.59 kB / 0.5829 GB, free: 5.562 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.977e-05/0.1832, allocations: 16.86 kB / 0.5829 GB, free: 5.543 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003097/0.1835, allocations: 182.3 kB / 0.583 GB, free: 5.328 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.1835, allocations: 34.56 kB / 0.5831 GB, free: 5.285 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1835, allocations: 0 / 0.5831 GB, free: 5.285 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002688/0.1838, allocations: 77.45 kB / 0.5832 GB, free: 5.203 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.1838, allocations: 51.41 kB / 0.5832 GB, free: 5.141 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.054e-05/0.1839, allocations: 97.84 kB / 0.5833 GB, free: 5.035 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.184, allocations: 25.7 kB / 0.5833 GB, free: 5.004 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.898e-05/0.184, allocations: 84.14 kB / 0.5834 GB, free: 4.918 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.184, allocations: 11.91 kB / 0.5834 GB, free: 4.906 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.1841, allocations: 13.62 kB / 0.5834 GB, free: 4.887 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1842, allocations: 322.8 kB / 0.5837 GB, free: 4.562 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.171e-05/0.1843, allocations: 4 kB / 0.5837 GB, free: 4.559 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.606e-05/0.1843, allocations: 15.98 kB / 0.5837 GB, free: 4.543 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.231e-05/0.1844, allocations: 24.84 kB / 0.5838 GB, free: 4.516 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1844, allocations: 4 kB / 0.5838 GB, free: 4.512 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001278/0.1845, allocations: 57.62 kB / 0.5838 GB, free: 4.449 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1846, allocations: 11.94 kB / 0.5838 GB, free: 4.438 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1846, allocations: 0 / 0.5838 GB, free: 4.438 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1846, allocations: 0 / 0.5838 GB, free: 4.438 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.534e-05/0.1847, allocations: 11.98 kB / 0.5839 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.1847, allocations: 0 / 0.5839 GB, free: 4.426 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.146e-05/0.1847, allocations: 3.938 kB / 0.5839 GB, free: 4.422 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.1847, allocations: 3.938 kB / 0.5839 GB, free: 4.418 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 (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 7.676e-05/0.1848, allocations: 114.5 kB / 0.584 GB, free: 4.297 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.1848, allocations: 7.938 kB / 0.584 GB, free: 4.289 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001941/0.185, allocations: 73.09 kB / 0.584 GB, free: 4.203 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.185, allocations: 4.562 kB / 0.5841 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.185, allocations: 3.938 kB / 0.5841 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.185, allocations: 0 / 0.5841 GB, free: 4.195 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.1852, allocations: 161.7 kB / 0.5842 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1852, allocations: 0 / 0.5842 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.591e-05/0.1852, allocations: 11.98 kB / 0.5842 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1852, allocations: 3.938 kB / 0.5842 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.1852, allocations: 4 kB / 0.5842 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.1853, allocations: 0 / 0.5842 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1853, allocations: 0 / 0.5842 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.1854, allocations: 89 kB / 0.5843 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.1855, allocations: 81.05 kB / 0.5844 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.1855, allocations: 7.938 kB / 0.5844 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.249e-05/0.1856, allocations: 11.98 kB / 0.5844 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.1856, allocations: 0 / 0.5844 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.1856, allocations: 4 kB / 0.5844 GB, free: 3.742 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.027e-05/0.1857, allocations: 75.28 kB / 0.5845 GB, free: 3.668 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1857, allocations: 0 / 0.5845 GB, free: 3.668 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002222/0.1859, allocations: 43.92 kB / 0.5845 GB, free: 3.625 MB / 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 (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.0002102/0.1861, allocations: 127.2 kB / 0.5847 GB, free: 3.492 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001503/0.1863, allocations: 27.98 kB / 0.5847 GB, free: 3.465 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1863, allocations: 4 kB / 0.5847 GB, free: 3.461 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.324e-05/0.1863, allocations: 19.92 kB / 0.5847 GB, free: 3.441 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.1866, allocations: 4 kB / 0.5847 GB, free: 3.438 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003104/0.1869, allocations: 132.9 kB / 0.5848 GB, free: 3.285 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.1872, allocations: 0.6809 MB / 0.5855 GB, free: 2.578 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.249e-05/0.1872, allocations: 0 / 0.5855 GB, free: 2.578 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.138e-05/0.1873, allocations: 15.44 kB / 0.5855 GB, free: 2.566 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1873, allocations: 0 / 0.5855 GB, free: 2.566 MB / 494.1 MB Notification: Performance of Templates: time 0.003574/0.1908, allocations: 1.025 MB / 0.5865 GB, free: 1.547 MB / 494.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)