Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, 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.001423/0.001423, allocations: 188.7 kB / 16.25 MB, free: 6.586 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.378/1.378, 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 0.9437/0.9437, allocations: 135.6 MB / 425.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 63.66 kB / 0.5054 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1715, allocations: 81.01 MB / 0.5845 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.002934/0.1744, allocations: 1.554 MB / 0.586 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.1757, allocations: 0.7991 MB / 0.5868 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.1758, allocations: 0 / 0.5868 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.219e-05/0.1758, allocations: 0 / 0.5868 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.205e-05/0.1759, allocations: 15.91 kB / 0.5868 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.1763, allocations: 123.5 kB / 0.5869 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.586e-05/0.1765, allocations: 51.8 kB / 0.587 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1766, allocations: 15.98 kB / 0.587 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.859e-05/0.1766, allocations: 15.92 kB / 0.587 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.829e-05/0.1767, allocations: 27.91 kB / 0.587 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.1767, allocations: 4 kB / 0.587 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003303/0.177, allocations: 167.7 kB / 0.5872 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.1771, allocations: 11.98 kB / 0.5872 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.963e-05/0.1771, allocations: 35.84 kB / 0.5872 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002558/0.1774, allocations: 143.8 kB / 0.5874 GB, free: 1.359 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1774, allocations: 7.938 kB / 0.5874 GB, free: 1.352 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1774, allocations: 0 / 0.5874 GB, free: 1.352 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.1774, allocations: 4 kB / 0.5874 GB, free: 1.348 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005894/0.178, allocations: 395.2 kB / 0.5878 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.178, allocations: 8.031 kB / 0.5878 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.634e-05/0.1781, allocations: 4.938 kB / 0.5878 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.1782, allocations: 184.3 kB / 0.588 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.1783, allocations: 384 / 0.588 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.1783, allocations: 4.375 kB / 0.588 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.1785, allocations: 74.16 kB / 0.588 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.1785, allocations: 192 / 0.588 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1786, allocations: 3.938 kB / 0.588 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1786, allocations: 0 / 0.588 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002744/0.1788, allocations: 71.92 kB / 0.5881 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004204/0.1793, allocations: 284.7 kB / 0.5884 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.1795, allocations: 66.41 kB / 0.5884 GB, free: 124 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.1797, allocations: 36.92 kB / 0.5885 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002011/0.1799, allocations: 93.09 kB / 0.5886 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.1799, allocations: 30.56 kB / 0.5886 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1799, allocations: 0 / 0.5886 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005294/0.1804, allocations: 137.5 kB / 0.5887 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.847e-05/0.1805, allocations: 51.41 kB / 0.5888 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.1806, allocations: 117.8 kB / 0.5889 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.1806, allocations: 29.64 kB / 0.5889 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.295e-05/0.1807, allocations: 96.12 kB / 0.589 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.568e-05/0.1807, allocations: 3.906 kB / 0.589 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.1807, allocations: 17.72 kB / 0.589 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001425/0.1809, allocations: 322.8 kB / 0.5893 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.181, allocations: 27.97 kB / 0.5894 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.1812, allocations: 31.97 kB / 0.5894 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.1814, allocations: 72.78 kB / 0.5895 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1815, allocations: 0 / 0.5895 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000314/0.1818, allocations: 97.53 kB / 0.5895 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1818, allocations: 7.984 kB / 0.5896 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1818, allocations: 0 / 0.5896 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1818, allocations: 4 kB / 0.5896 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.182, allocations: 19.92 kB / 0.5896 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.182, allocations: 0 / 0.5896 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.025e-05/0.1821, allocations: 15.92 kB / 0.5896 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.1821, allocations: 0 / 0.5896 GB, free: 14.84 MB / 0.4981 GB 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 (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 prepare postOptimizeDAE: time 9.946e-05/0.1822, allocations: 117.8 kB / 0.5897 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.1822, allocations: 0 / 0.5897 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003609/0.1826, allocations: 117.4 kB / 0.5898 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1826, allocations: 0 / 0.5898 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1826, allocations: 4 kB / 0.5898 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1826, allocations: 0 / 0.5898 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.1828, allocations: 173.7 kB / 0.59 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.1828, allocations: 3.984 kB / 0.59 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.683e-05/0.1829, allocations: 27.86 kB / 0.59 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1829, allocations: 4 kB / 0.59 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.1829, allocations: 0 / 0.59 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1829, allocations: 0 / 0.59 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1829, allocations: 3.984 kB / 0.59 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.1833, allocations: 199.4 kB / 0.5902 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.842e-05/0.1834, allocations: 88.95 kB / 0.5903 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.1834, allocations: 0 / 0.5903 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.1835, allocations: 11.98 kB / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.1836, allocations: 7.984 kB / 0.5903 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.1836, allocations: 4 kB / 0.5903 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.446e-05/0.1836, allocations: 87.28 kB / 0.5904 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1837, allocations: 0 / 0.5904 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002685/0.1839, allocations: 35.98 kB / 0.5904 GB, free: 13.86 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 (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.0002303/0.1842, allocations: 127.6 kB / 0.5906 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000336/0.1845, allocations: 71.86 kB / 0.5906 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1845, allocations: 4 kB / 0.5906 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.1847, allocations: 40.05 kB / 0.5907 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.185, allocations: 8.031 kB / 0.5907 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.1854, allocations: 169.9 kB / 0.5908 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.1857, allocations: 0.6846 MB / 0.5915 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.421e-05/0.1858, allocations: 3.984 kB / 0.5915 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.1858, allocations: 11.44 kB / 0.5915 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1858, allocations: 0 / 0.5915 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.003871/0.1897, allocations: 1.254 MB / 0.5928 GB, free: 11.45 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)